Update react monorepo #11
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/react-monorepo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
18.0.21
->18.3.12
^17.0.2
->^18.0.0
^17.0.2
->^18.0.0
Release Notes
facebook/react (react)
v18.3.1
Compare Source
act
fromreact
f1338fv18.3.0
Compare Source
This release is identical to 18.2 but adds warnings for deprecated APIs and other changes that are needed for React 19.
Read the React 19 Upgrade Guide for more info.
React
this.refs
to support string ref codemod 909071findDOMNode
outside StrictMode c3b283test-utils
methods d4ea75defaultProps
for function components #25699key
#25697act
fromtest-utils
d4ea75React DOM
unmountComponentAtNode
8a015brenderToStaticNodeStream
#28874v18.2.0
Compare Source
React DOM
onRecoverableError
. (@gnoff in #24591)document
causing a blank page on mismatch. (@gnoff in #24523)setState
in Safari when adding an iframe. (@gaearon in #24459)React DOM Server
<title>
elements to match the browser constraints. (@gnoff in #24679)highWaterMark
to0
. (@jplhomer in #24641)Server Components (Experimental)
useId()
inside Server Components. (@gnoff in #24172)v18.1.0
Compare Source
React DOM
react-dom/client
when using UMD bundle. (@alireza-molaee in #24274)suppressHydrationWarning
to work in production too. (@gaearon in #24271)componentWillUnmount
firing twice inside of Suspense. (@acdlite in #24308)useDeferredValue
causing an infinite loop when passed an unmemoized value. (@acdlite in #24247)setState
loop inuseEffect
. (@gaearon in #24298)setState
inuseInsertionEffect
. (@gaearon in #24295)React DOM Server
bootstrapScriptContent
contents. (@gnoff in #24385)renderToPipeableStream
. (@gnoff in #24291)ESLint Plugin: React Hooks
Use Subscription
use-sync-external-store
shim. (@gaearon in #24289)v18.0.0
Compare Source
Below is a list of all new features, APIs, deprecations, and breaking changes.
Read React 18 release post and React 18 upgrade guide for more information.
New Features
React
useId
is a new hook for generating unique IDs on both the client and server, while avoiding hydration mismatches. It is primarily useful for component libraries integrating with accessibility APIs that require unique IDs. This solves an issue that already exists in React 17 and below, but it’s even more important in React 18 because of how the new streaming server renderer delivers HTML out-of-order.startTransition
anduseTransition
let you mark some state updates as not urgent. Other state updates are considered urgent by default. React will allow urgent state updates (for example, updating a text input) to interrupt non-urgent state updates (for example, rendering a list of search results).useDeferredValue
lets you defer re-rendering a non-urgent part of the tree. It is similar to debouncing, but has a few advantages compared to it. There is no fixed time delay, so React will attempt the deferred render right after the first render is reflected on the screen. The deferred render is interruptible and doesn't block user input.useSyncExternalStore
is a new hook that allows external stores to support concurrent reads by forcing updates to the store to be synchronous. It removes the need foruseEffect
when implementing subscriptions to external data sources, and is recommended for any library that integrates with state external to React.useInsertionEffect
is a new hook that allows CSS-in-JS libraries to address performance issues of injecting styles in render. Unless you’ve already built a CSS-in-JS library we don’t expect you to ever use this. This hook will run after the DOM is mutated, but before layout effects read the new layout. This solves an issue that already exists in React 17 and below, but is even more important in React 18 because React yields to the browser during concurrent rendering, giving it a chance to recalculate layout.React DOM Client
These new APIs are now exported from
react-dom/client
:createRoot
: New method to create a root torender
orunmount
. Use it instead ofReactDOM.render
. New features in React 18 don't work without it.hydrateRoot
: New method to hydrate a server rendered application. Use it instead ofReactDOM.hydrate
in conjunction with the new React DOM Server APIs. New features in React 18 don't work without it.Both
createRoot
andhydrateRoot
accept a new option calledonRecoverableError
in case you want to be notified when React recovers from errors during rendering or hydration for logging. By default, React will usereportError
, orconsole.error
in the older browsers.React DOM Server
These new APIs are now exported from
react-dom/server
and have full support for streaming Suspense on the server:renderToPipeableStream
: for streaming in Node environments.renderToReadableStream
: for modern edge runtime environments, such as Deno and Cloudflare workers.The existing
renderToString
method keeps working but is discouraged.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.
6501980f5c
tof06c8aee01
f06c8aee01
to0a3d239fcc
0a3d239fcc
toc4be3b0515
c4be3b0515
tof1cf0fa9f9
f1cf0fa9f9
to299c73441f
299c73441f
toa042631769
a042631769
tod76a5d51f7
d76a5d51f7
tocd6eb3388e
cd6eb3388e
tob67e92ff6d
b67e92ff6d
toe1ea0847ad
e1ea0847ad
to69253643c3
69253643c3
tof938ad8b2e
f938ad8b2e
to0fa957eb06
0fa957eb06
to07dd62ae12
07dd62ae12
toa51d88762e
a51d88762e
toa288b90e10
a288b90e10
to785cfb4d2c
785cfb4d2c
toc29e641d38
c29e641d38
toc4ed5f2209
c4ed5f2209
to8ca6cd5b04
8ca6cd5b04
to4519a37bfc
4519a37bfc
to4d3d3481b9
4d3d3481b9
to0c666d1c5b
Update react monorepo to v18to Update react monorepo0c666d1c5b
to2993a102b8
2993a102b8
tof3906b19b5
f3906b19b5
to7b2e42bf73
7b2e42bf73
to37a8c8b567
37a8c8b567
to4605f424d1
4605f424d1
to0c62ad0b2c
0c62ad0b2c
to56e7f89113
56e7f89113
tof09940e2cf
f09940e2cf
to3b89436bc6
3b89436bc6
toeec247545f
eec247545f
to92e6cea94f
92e6cea94f
tof451900636
f451900636
to38d1872fab
38d1872fab
toe2449691b9
e2449691b9
to0edfd4e28b
Update react monorepoto Update react monorepo to v18.2.00edfd4e28b
to5085e5b562
Update react monorepo to v18.2.0to Update react monorepo5085e5b562
to8f681c9f66
8f681c9f66
tof98849a17b
f98849a17b
to971538e108
971538e108
to442da91492
442da91492
to3ae8b39566
3ae8b39566
to83b499610d
83b499610d
to467fc5d05a
467fc5d05a
to0e12706a13
0e12706a13
todfc46ac890
dfc46ac890
to179951db29
179951db29
to8037334e48
8037334e48
toe40b2c73b7
e40b2c73b7
to532ce2401e
532ce2401e
tob1caf95007
b1caf95007
toa05b5a2055
a05b5a2055
to5e3793123e
5e3793123e
to6f735dbb14
6f735dbb14
to4f79ed0eee
4f79ed0eee
to8b3415b74e
8b3415b74e
to6c19e9cc23
6c19e9cc23
to16151f7a73
16151f7a73
toa1a3866a60
a1a3866a60
toe69e46c579
e69e46c579
to56cda63a88
56cda63a88
todd257beffb
dd257beffb
to6b1fbc9874
6b1fbc9874
to68b3ed46be
68b3ed46be
toa5693d6a1b
a5693d6a1b
toe3f709cb1d
e3f709cb1d
to057f1ff2ec
057f1ff2ec
to29ee0abd1b
29ee0abd1b
to599ab1fa77
599ab1fa77
toc25833ba25
c25833ba25
to18ff4227fb
18ff4227fb
tod6fb1a0f54
d6fb1a0f54
to6bf6a8c2b5
6bf6a8c2b5
to07150a5215
07150a5215
toc8d050f054
c8d050f054
to0583f8dee6
0583f8dee6
todd5eab944e
dd5eab944e
todf8156ddac
df8156ddac
to3c12d7a989
3c12d7a989
to72001dae0b
72001dae0b
to1b4f96f75e
1b4f96f75e
to74b79ab4e3
74b79ab4e3
to1832edd826
1832edd826
to76c4f36ec5
76c4f36ec5
tocbde0b6779
cbde0b6779
toa1a4d90e35
a1a4d90e35
toc4d2c0daeb
c4d2c0daeb
to5962f7f8c7
5962f7f8c7
to790cb24ff1
790cb24ff1
todbfce03d85
dbfce03d85
tobb294d41cf
bb294d41cf
to9be2a3291c
9be2a3291c
to978e499c96
978e499c96
to3d89d2f8c7
3d89d2f8c7
to200ec8178e
200ec8178e
toe728ed72e8
e728ed72e8
toac3d59a11e
ac3d59a11e
tocebb97eab5
cebb97eab5
to79f6677e89
79f6677e89
tof1c86955ad
f1c86955ad
to92b1e536e1
92b1e536e1
tof66f5e4dfb
f66f5e4dfb
to82bdcdfd10
82bdcdfd10
to1e872e1fab
1e872e1fab
to6733ec5486
6733ec5486
toa407709d21
a407709d21
to1838ef6b55
1838ef6b55
toba6f1c2d05
ba6f1c2d05
to0f589aa980
0f589aa980
to030f842736
030f842736
to28c69ad986
28c69ad986
to09b192022c
09b192022c
to9ec4619d42
Update react monorepoto Update react monorepo to v18.3.09ec4619d42
toda86a4bc90
Update react monorepo to v18.3.0to Update react monorepoUpdate react monorepoto Update react monorepo to v18.3.1da86a4bc90
toa534cfe56d
Update react monorepo to v18.3.1to Update react monorepoa534cfe56d
to5665dd10cc
5665dd10cc
to0c47e048e1
0c47e048e1
tof1cdfce3b3
f1cdfce3b3
tof876ae40ba
f876ae40ba
to57e69f6e94
57e69f6e94
to11d27b1ecf
11d27b1ecf
tobe182b5ad6
be182b5ad6
to8ebd78f531
8ebd78f531
toef5ecb2d81
ef5ecb2d81
to41d4c5cc83
41d4c5cc83
to525aeef1f5
Checkout
From your project repository, check out a new branch and test the changes.