chore: bump react-live from 2.2.3 to 3.1.1 in /docs
Bumps react-live from 2.2.3 to 3.1.1.
Release notes
Sourced from react-live's releases.
v3.1.1
🐛 Bugfixes 🐛
- add spellCheck=false to stop Editor underlining code by
@jpdriverin FormidableLabs/react-live#316Full Changelog: https://github.com/FormidableLabs/react-live/compare/v3.1.0...v3.1.1
This pre-release is currently available on NPM via
yarn add react-live@nextv3.1.0
✨ Features ✨
- update prism-react-renderer by
@jpdriverin FormidableLabs/react-live#314🐛 Bugfixes 🐛
introduced in
v3.0.0
- update sucrase by
@jpdriverin FormidableLabs/react-live#313🔐 Security 🔐
- remove Object.assign polyfill by
@jpdriverin FormidableLabs/react-live#312Full Changelog: https://github.com/FormidableLabs/react-live/compare/v3.0.0...v3.1.0
v3.0.0
This release contains significant internal changes.
Prior to
v3.0.0, earlier versions of the library used different internals. We recommend using the latest version you can.
Version Supported React version Editor Transpiler v3.x.x v17.x.x use-editableSucrasev2.x.x v16.x.x react-simple-code-editorBubléAdditionally, several members of the community reported an issue introduced in
2.3.0which threw the following Invariant error:Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.This appears to have been cause by differing React versions between React Live and projects targeting React 17.
Upgrading to this new release should address that issue.
🚨 Breaking 🚨
- swap Buble for Sucrase by
@jpdriverin FormidableLabs/react-live#295
... (truncated)
Commits
e36630bv3.1.1e21fd33Merge pull request #316 from FormidableLabs/jp-disable-spellchecka72a7c0add spellCheck=false to stop Editor underlining codebfd0cddMerge pull request #314 from FormidableLabs/jp-update-prism-react-renderer185627fupdate prism-react-rendererf5818d5Merge pull request #313 from FormidableLabs/jp-update-sucrase5617cefupdate sucrasec63fbfeMerge pull request #312 from FormidableLabs/jp-remove-object-assign-polyfill6c71dd6remove Object.assign polyfill from core-js98925ccv3.0.0- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)