FigmaThird
FigmaThird copied to clipboard
Update react monorepo to v18 (major)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @types/react (source) | ^16.9.11 -> ^18.0.0 |
||||
| @types/react-dom (source) | ^16.9.3 -> ^18.0.0 |
||||
| react (source) | ^0.0.0-f6b8d31a7 -> ^18.0.0 |
||||
| react-dom (source) | ^0.0.0-f6b8d31a7 -> ^18.0.0 |
Release Notes
facebook/react (react)
v18.2.0
React DOM
- Provide a component stack as a second argument to
onRecoverableError. (@​gnoff in #​24591) - Fix hydrating into
documentcausing a blank page on mismatch. (@​gnoff in #​24523) - Fix false positive hydration errors with Suspense. (@​gnoff in #​24480 and @​acdlite in #​24532)
- Fix ignored
setStatein Safari when adding an iframe. (@​gaearon in #​24459)
React DOM Server
- Pass information about server errors to the client. (@​salazarm and @​gnoff in #​24551 and #​24591)
- Allow to provide a reason when aborting the HTML stream. (@​gnoff in #​24680)
- Eliminate extraneous text separators in the HTML where possible. (@​gnoff in #​24630)
- Disallow complex children inside
<title>elements to match the browser constraints. (@​gnoff in #​24679) - Fix buffering in some worker environments by explicitly setting
highWaterMarkto0. (@​jplhomer in #​24641)
Server Components (Experimental)
v18.1.0
React DOM
- Fix the false positive warning about
react-dom/clientwhen using UMD bundle. (@​alireza-molaee in #​24274) - Fix
suppressHydrationWarningto work in production too. (@​gaearon in #​24271) - Fix
componentWillUnmountfiring twice inside of Suspense. (@​acdlite in #​24308) - Fix some transition updates being ignored. (@​acdlite in #​24353)
- Fix
useDeferredValuecausing an infinite loop when passed an unmemoized value. (@​acdlite in #​24247) - Fix throttling of revealing Suspense fallbacks. (@​sunderls in #​24253)
- Fix an inconsistency in whether the props object is the same between renders. (@​Andarist and @​acdlite in #​24421)
- Fix a missing warning about a
setStateloop inuseEffect. (@​gaearon in #​24298) - Fix a spurious hydration error. (@​gnoff in #​24404)
- Warn when calling
setStateinuseInsertionEffect. (@​gaearon in #​24295) - Ensure the reason for hydration errors is always displayed. (@​gaearon in #​24276)
React DOM Server
- Fix escaping for the
bootstrapScriptContentcontents. (@​gnoff in #​24385) - Significantly improve performance of
renderToPipeableStream. (@​gnoff in #​24291)
ESLint Plugin: React Hooks
- Fix false positive errors with a large number of branches. (@​scyron6 in #​24287)
- Don't consider a known dependency stable when the variable is reassigned. (@​afzalsayed96 in #​24343)
Use Subscription
- Replace the implementation with the
use-sync-external-storeshim. (@​gaearon in #​24289)
v18.0.0
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
useIdis 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.startTransitionanduseTransitionlet 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).useDeferredValuelets 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.useSyncExternalStoreis a new hook that allows external stores to support concurrent reads by forcing updates to the store to be synchronous. It removes the need foruseEffectwhen implementing subscriptions to external data sources, and is recommended for any library that integrates with state external to React.useInsertionEffectis 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 torenderorunmount. 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.hydratein conjunction with the new React DOM Server APIs. New features in React 18 don't work without it.
Both createRoot and hydrateRoot accept a new option called onRecoverableError in case you want to be notified when React recovers from errors during rendering or hydration for logging. By default, React will use reportError, or console.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.
v17.0.2
React DOM
- Remove an unused dependency to address the
SharedArrayBuffercross-origin isolation warning. (@​koba04 and @​bvaughn in #​20831, #​20832, and #​20840)
v17.0.1
React DOM
- Fix a crash in IE11. (@​gaearon in #​20071)
v17.0.0
Today, we are releasing React 17!
Learn more about React 17 and how to update to it on the official React blog.
React
- Add
react/jsx-runtimeandreact/jsx-dev-runtimefor the new JSX transform. (@​lunaruan in #​18299) - Build component stacks from native error frames. (@​sebmarkbage in #​18561)
- Allow to specify
displayNameon context for improved stacks. (@​eps1lon in #​18224) - Prevent
'use strict'from leaking in the UMD bundles. (@​koba04 in #​19614) - Stop using
fb.mefor redirects. (@​cylim in #​19598)
React DOM
- Delegate events to roots instead of
document. (@​trueadm in #​18195 and others) - Clean up all effects before running any next effects. (@​bvaughn in #​17947)
- Run
useEffectcleanup functions asynchronously. (@​bvaughn in #​17925) - Use browser
focusinandfocusoutforonFocusandonBlur. (@​trueadm in #​19186) - Make all
Captureevents use the browser capture phase. (@​trueadm in #​19221) - Don't emulate bubbling of the
onScrollevent. (@​gaearon in #​19464) - Throw if
forwardReformemocomponent returnsundefined. (@​gaearon in #​19550) - Remove event pooling. (@​trueadm in #​18969)
- Stop exposing internals that won’t be needed by React Native Web. (@​necolas in #​18483)
- Attach all known event listeners when the root mounts. (@​gaearon in #​19659)
- Disable
consolein the second render pass of DEV mode double render. (@​sebmarkbage in #​18547) - Deprecate the undocumented and misleading
ReactTestUtils.SimulateNativeAPI. (@​gaearon in #​13407) - Rename private field names used in the internals. (@​gaearon in #​18377)
- Don't call User Timing API in development. (@​gaearon in #​18417)
- Disable console during the repeated render in Strict Mode. (@​sebmarkbage in #​18547)
- In Strict Mode, double-render components without Hooks too. (@​eps1lon in #​18430)
- Allow calling
ReactDOM.flushSyncduring lifecycle methods (but warn). (@​sebmarkbage in #​18759) - Add the
codeproperty to the keyboard event objects. (@​bl00mber in #​18287) - Add the
disableRemotePlaybackproperty forvideoelements. (@​tombrowndev in #​18619) - Add the
enterKeyHintproperty forinputelements. (@​eps1lon in #​18634) - Warn when no
valueis provided to<Context.Provider>. (@​charlie1404 in #​19054) - Warn when
memoorforwardRefcomponents returnundefined. (@​bvaughn in #​19550) - Improve the error message for invalid updates. (@​JoviDeCroock in #​18316)
- Exclude forwardRef and memo from stack frames. (@​sebmarkbage in #​18559)
- Improve the error message when switching between controlled and uncontrolled inputs. (@​vcarl in #​17070)
- Keep
onTouchStart,onTouchMove, andonWheelpassive. (@​gaearon in #​19654) - Fix
setStatehanging in development inside a closed iframe. (@​gaearon in #​19220) - Fix rendering bailout for lazy components with
defaultProps. (@​jddxf in #​18539) - Fix a false positive warning when
dangerouslySetInnerHTMLisundefined. (@​eps1lon in #​18676) - Fix Test Utils with non-standard
requireimplementation. (@​just-boris in #​18632) - Fix
onBeforeInputreporting an incorrectevent.type. (@​eps1lon in #​19561) - Fix
event.relatedTargetreported asundefinedin Firefox. (@​claytercek in #​19607) - Fix "unspecified error" in IE11. (@​hemakshis in #​19664)
- Fix rendering into a shadow root. (@​Jack-Works in #​15894)
- Fix
movementX/Ypolyfill with capture events. (@​gaearon in #​19672) - Use delegation for
onSubmitandonResetevents. (@​gaearon in #​19333) - Improve memory usage. (@​trueadm in #​18970)
React DOM Server
- Make
useCallbackbehavior consistent withuseMemofor the server renderer. (@​alexmckenley in #​18783) - Fix state leaking when a function component throws. (@​pmaccart in #​19212)
React Test Renderer
- Improve
findByTypeerror message. (@​henryqdineen in #​17439)
Concurrent Mode (Experimental)
- Revamp the priority batching heuristics. (@​acdlite in #​18796)
- Add the
unstable_prefix before the experimental APIs. (@​acdlite in #​18825) - Remove
unstable_discreteUpdatesandunstable_flushDiscreteUpdates. (@​trueadm in #​18825) - Remove the
timeoutMsargument. (@​acdlite in #​19703) - Disable
<div hidden />prerendering in favor of a different future API. (@​acdlite in #​18917) - Add
unstable_expectedLoadTimeto Suspense for CPU-bound trees. (@​acdlite in #​19936) - Add an experimental
unstable_useOpaqueIdentifierHook. (@​lunaruan in #​17322) - Add an experimental
unstable_startTransitionAPI. (@​rickhanlonii in #​19696) - Using
actin the test renderer no longer flushes Suspense fallbacks. (@​acdlite in #​18596) - Use global render timeout for CPU Suspense. (@​sebmarkbage in #​19643)
- Clear the existing root content before mounting. (@​bvaughn in #​18730)
- Fix a bug with error boundaries. (@​acdlite in #​18265)
- Fix a bug causing dropped updates in a suspended tree. (@​acdlite in #​18384 and #​18457)
- Fix a bug causing dropped render phase updates. (@​acdlite in #​18537)
- Fix a bug in SuspenseList. (@​sebmarkbage in #​18412)
- Fix a bug causing Suspense fallback to show too early. (@​acdlite in #​18411)
- Fix a bug with class components inside SuspenseList. (@​sebmarkbage in #​18448)
- Fix a bug with inputs that may cause updates to be dropped. (@​jddxf in #​18515 and @​acdlite in #​18535)
- Fix a bug causing Suspense fallback to get stuck. (@​acdlite in #​18663)
- Don't cut off the tail of a SuspenseList if hydrating. (@​sebmarkbage in #​18854)
- Fix a bug in
useMutableSourcethat may happen whengetSnapshotchanges. (@​bvaughn in #​18297) - Fix a tearing bug in
useMutableSource. (@​bvaughn in #​18912) - Warn if calling setState outside of render but before commit. (@​sebmarkbage in #​18838)
v16.14.0
React
- Add support for the new JSX transform. (@​lunaruan in #​18299)
v16.13.1
React DOM
- Fix bug in legacy mode Suspense where effect clean-up functions are not fired. This only affects users who use Suspense for data fetching in legacy mode, which is not technically supported. (@​acdlite in #​18238)
- Revert warning for cross-component updates that happen inside class render lifecycles (
componentWillReceiveProps,shouldComponentUpdate, and so on). (@​gaearon in #​18330)
v16.13.0
React
- Warn when a string ref is used in a manner that's not amenable to a future codemod (@​lunaruan in #​17864)
- Deprecate
React.createFactory()(@​trueadm in #​17878)
React DOM
- Warn when changes in
stylemay cause an unexpected collision (@​sophiebits in #​14181, #​18002) - Warn when a function component is updated during another component's render phase (@​acdlite in #​17099)
- Deprecate
unstable_createPortal(@​trueadm in #​17880) - Fix
onMouseEnterbeing fired on disabled buttons (@​AlfredoGJ in #​17675) - Call
shouldComponentUpdatetwice when developing inStrictMode(@​bvaughn in #​17942) - Add
versionproperty to ReactDOM (@​ealush in #​15780) - Don't call
toString()ofdangerouslySetInnerHTML(@​sebmarkbage in #​17773) - Show component stacks in more warnings (@​gaearon in #​17922, #​17586)
Concurrent Mode (Experimental)
- Warn for problematic usages of
ReactDOM.createRoot()(@​trueadm in #​17937) - Remove
ReactDOM.createRoot()callback params and added warnings on usage (@​bvaughn in #​17916) - Don't group Idle/Offscreen work with other work (@​sebmarkbage in #​17456)
- Adjust
SuspenseListCPU bound heuristic (@​sebmarkbage in #​17455) - Add missing event plugin priorities (@​trueadm in #​17914)
- Fix
isPendingonly being true when transitioning from inside an input event (@​acdlite in #​17382) - Fix
React.memocomponents dropping updates when interrupted by a higher priority update (@​acdlite in #​18091) - Don't warn when suspending at the wrong priority (@​gaearon in #​17971)
- Fix a bug with rebasing updates (@​acdlite and @​sebmarkbage in #​17560, #​17510, #​17483, #​17480)
v16.12.0
React DOM
- Fix passive effects (
useEffect) not being fired in a multi-root app. (@​acdlite in #​17347)
React Is
- Fix
lazyandmemotypes considered elements instead of components (@​bvaughn in #​17278)
v16.11.0
React DOM
- Fix
mouseenterhandlers from firing twice inside nested React containers. @​yuanoook in #​16928 - Remove
unstable_createRootandunstable_createSyncRootexperimental APIs. (These are available in the Experimental channel ascreateRootandcreateSyncRoot.) (@​acdlite in #​17088)
v16.10.2
React DOM
- Fix regression in react-native-web by restoring order of arguments in event plugin extractors (@​necolas in #​16978)
v16.10.1
React DOM
- Fix regression in Next.js apps by allowing Suspense mismatch during hydration to silently proceed (@​sebmarkbage in #​16943)
v16.10.0
React DOM
- Fix edge case where a hook update wasn't being memoized. (@​sebmarkbage in #​16359)
- Fix heuristic for determining when to hydrate, so we don't incorrectly hydrate during an update. (@​sebmarkbage in #​16739)
- Clear additional fiber fields during unmount to save memory. (@​trueadm in #​16807)
- Fix bug with required text fields in Firefox. (@​halvves in #​16578)
- Prefer
Object.isinstead of inline polyfill, when available. (@​ku8ar in #​16212) - Fix bug when mixing Suspense and error handling. (@​acdlite in #​16801)
Scheduler (Experimental)
- Improve queue performance by switching its internal data structure to a min binary heap. (@​acdlite in #​16245)
- Use
postMessageloop with short intervals instead of attempting to align to frame boundaries withrequestAnimationFrame. (@​acdlite in #​16214)
useSubscription
- Avoid tearing issue when a mutation happens and the previous update is still in progress. (@​bvaughn in #​16623)
v16.9.0
React
- Add
<React.Profiler>API for gathering performance measurements programmatically. (@​bvaughn in #​15172) - Remove
unstable_ConcurrentModein favor ofunstable_createRoot. (@​acdlite in #​15532)
React DOM
- Deprecate old names for the
UNSAFE_*lifecycle methods. (@​bvaughn in #​15186 and @​threepointone in #​16103) - Deprecate
javascript:URLs as a common attack surface. (@​sebmarkbage in #​15047) - Deprecate uncommon "module pattern" (factory) components. (@​sebmarkbage in #​15145)
- Add support for the
disablePictureInPictureattribute on<video>. (@​eek in #​15334) - Add support for
onLoadevent for<embed>. (@​cherniavskii in #​15614) - Add support for editing
useStatestate from DevTools. (@​bvaughn in #​14906) - Add support for toggling Suspense from DevTools. (@​gaearon in #​15232)
- Warn when
setStateis called fromuseEffect, creating a loop. (@​gaearon in #​15180) - Fix a memory leak. (@​paulshen in #​16115)
- Fix a crash inside
findDOMNodefor components wrapped in<Suspense>. (@​acdlite in #​15312) - Fix pending effects from being flushed too late. (@​acdlite in #​15650)
- Fix incorrect argument order in a warning message. (@​brickspert in #​15345)
- Fix hiding Suspense fallback nodes when there is an
!importantstyle. (@​acdlite in #​15861 and #​15882) - Slightly improve hydration performance. (@​bmeurer in #​15998)
React DOM Server
- Fix incorrect output for camelCase custom CSS property names. (@​bedakb in #​16167)
React Test Utilities and Test Renderer
- Add
act(async () => ...)for testing asynchronous state updates. (@​threepointone in #​14853) - Add support for nesting
actfrom different renderers. (@​threepointone in #​16039 and #​16042) - Warn in Strict Mode if effects are scheduled outside an
act()call. (@​threepointone in #​15763 and #​16041) - Warn when using
actfrom the wrong renderer. (@​threepointone in #​15756)
ESLint Plugin: React Hooks
v16.8.6
React DOM
- Fix an incorrect bailout in
useReducer(). (@​acdlite in #​15124) - Fix iframe warnings in Safari DevTools. (@​renanvalentin in #​15099)
- Warn if
contextTypeis set toContext.Consumerinstead ofContext. (@​aweary in #​14831) - Warn if
contextTypeis set to invalid values. (@​gaearon in #​15142)
v16.8.5
React DOM
- Don't set the first option as selected in select tag with
sizeattribute. (@​kulek1 in #​14242) - Improve the
useEffect(async () => ...)warning message. (@​gaearon in #​15118) - Improve the error message sometimes caused by duplicate React. (@​jaredpalmer in #​15139)
React DOM Server
- Improve the
useLayoutEffectwarning message when server rendering. (@​gaearon in #​15158)
React Shallow Renderer
- Fix
setStatein shallow renderer to work with Hooks. (@​gaearon in #​15120) - Fix shallow renderer to support
React.memo. (@​aweary in #​14816) - Fix shallow renderer to support Hooks inside
forwardRef. (@​eps1lon in #​15100)
v16.8.4
React DOM and other renderers
- Fix a bug where DevTools caused a runtime error when inspecting a component that used a
useContexthook. (@​bvaughn in #​14940)
v16.8.3
React DOM
- Fix a bug that caused inputs to behave incorrectly in UMD builds. (@​gaearon in #​14914)
- Fix a bug that caused render phase updates to be discarded. (@​gaearon in #​14852)
React DOM Server
- Unwind the context stack when a stream is destroyed without completing, to prevent incorrect values during a subsequent render. (@​overlookmotel in #​14706)
ESLint Plugin for React Hooks
- Add a new recommended
exhaustive-depsrule. (@​gaearon in #​14636)
v16.8.2
React DOM
- Fix
ReactDOM.renderbeing ignored insideuseEffect. (@​gaearon in #​14799) - Fix a crash when unmounting empty portals. (@​gaearon in #​14820)
- Fix
useImperativeHandleto work correctly when no deps are specified. (@​gaearon in #​14801) - Fix
crossOriginattribute to work in SVGimageelements. (@​aweary in #​14832) - Fix a false positive warning when using Suspense with Hooks. (@​gaearon in #​14821)
React Test Utils and React Test Renderer
- Include component stack into the
act()warning. (@​threepointone in #​14855)
v16.8.1
React DOM and React Test Renderer
- Fix a crash when used together with an older version of React. (@​bvaughn in #​14770)
React Test Utils
- Fix a crash in Node environment. (@​threepointone in #​14768)
v16.8.0
React
- Add Hooks — a way to use state and other React features without writing a class. (@​acdlite et al. in #​13968)
- Improve the
useReducerHook lazy initialization API. (@​acdlite in #​14723)
React DOM
- Bail out of rendering on identical values for
useStateanduseReducerHooks. (@​acdlite in #​14569) - Use
Object.isalgorithm for comparinguseStateanduseReducervalues. (@​Jessidhia in #​14752) - Don’t compare the first argument passed to
useEffect/useMemo/useCallbackHooks. (@​acdlite in #​14594) - Support synchronous thenables passed to
React.lazy(). (@​gaearon in #​14626) - Render components with Hooks twice in Strict Mode (DEV-only) to match class behavior. (@​gaearon in #​14654)
- Warn about mismatching Hook order in development. (@​threepointone in #​14585 and @​acdlite in #​14591)
- Effect clean-up functions must return either
undefinedor a function. All other values, includingnull, are not allowed. @​acdlite in #​14119
React Test Renderer and Test Utils
- Support Hooks in the shallow renderer. (@​trueadm in #​14567)
- Fix wrong state in
shouldComponentUpdatein the presence ofgetDerivedStateFromPropsfor Shallow Renderer. (@​chenesan in #​14613) - Add
ReactTestRenderer.act()andReactTestUtils.act()for batching updates so that tests more closely match real behavior. (@​threepointone in #​14744)
ESLint Plugin: React Hooks
- Initial release. (@​calebmer in #​13968)
- Fix reporting after encountering a loop. (@​calebmer and @​Yurickh in #​14661)
- Don't consider throwing to be a rule violation. (@​sophiebits in #​14040)
v16.7.0
React DOM
- Fix performance of
React.lazyfor large numbers of lazily-loaded components. (@​acdlite in #​14429) - Clear fields on unmount to avoid memory leaks. (@​trueadm in #​14276)
- Fix bug with SSR and context when mixing
react-dom/[email protected]andreact@<16.6. (@​gaearon in #​14291) - Fix a performance regression in profiling mode. (@​bvaughn in #​14383)
Scheduler (Experimental)
- Post to MessageChannel instead of window. (@​acdlite in #​14234)
- Reduce serialization overhead. (@​developit in #​14249)
- Fix fallback to
setTimeoutin testing environments. (@​bvaughn in #​14358) - Add methods for debugging. (@​mrkev in #​14053)
v16.6.3
React DOM
- Fix bugs in
Suspenseandlazy. (@​acdlite in #​14133, #​14157, and #​14164) - Fix highlighting of
React.memoupdates in React DevTools. (@​bvaughn in #​14141) - Fix interaction of Suspense with the React Profiler. (@​bvaughn in #​14065)
- Fix a false positive warning when using Suspense. (@​acdlite in #​14158)
React DOM Server
- Fix incorrect sharing of context state between
renderToNodeStream()calls. (@​sebmarkbage in #​14182) - Add a warning about incorrect usage of the context API. (@​trueadm in #​14033)
v16.6.2
This release was published in a broken state and should be skipped.
v16.6.1
React DOM
- Fallback should not remount every time a promise resolves. (@​acdlite in #​14083)
- Fix bug where Suspense keeps showing fallback even after everything finishes loading. (@​acdlite in #​14083)
- Fix a crash when Suspense finishes loading in IE11. (@​sophiebits in #​14126)
- Fix unresolved default props in lifecycle methods of a lazy component. (@​gaearon in #​14112)
- Fix bug when recovering from an error thrown during complete phase. (@​gaearon in #​14104)
Scheduler (Experimental)
- Switch from deadline object to
shouldYieldAPI. (@​acdlite in #​14025)
v16.6.0
React
- Add
React.memo()as an alternative toPureComponentfor functions. (@​acdlite in #​13748) - Add
React.lazy()for code splitting components. (@​acdlite in #​13885) React.StrictModenow warns about legacy context API. (@​bvaughn in #​13760)React.StrictModenow warns aboutfindDOMNode. (@​sebmarkbage in #​13841)- Rename
unstable_AsyncModetounstable_ConcurrentMode. (@​trueadm in #​13732) - Rename
unstable_PlaceholdertoSuspense, anddelayMstomaxDuration. (@​gaearon in #​13799 and @​sebmarkbage in #​13922)
React DOM
- Add
contextTypeas a more ergonomic way to subscribe to context from a class. (@​bvaughn in #​13728) - Add
getDerivedStateFromErrorlifecycle method for catching errors in a future asynchronous server-side renderer. (@​bvaughn in #​13746) - Warn when
<Context>is used instead of<Context.Consumer>. (@​trueadm in #​13829) - Fix gray overlay on iOS Safari. (@​philipp-spiess in #​13778)
- Fix a bug caused by overwriting
window.eventin development. (@​sergei-startsev in #​13697)
React DOM Server
- Add support for
React.memo(). (@​alexmckenley in #​13855) - Add support for
contextType. (@​alexmckenley and @​sebmarkbage in #​13889)
Scheduler (Experimental)
- Rename the package to
scheduler. (@​gaearon in #​13683) - Support priority levels, continuations, and wrapped callbacks. (@​acdlite in #​13720 and #​13842)
- Improve the fallback mechanism in non-DOM environments. (@​acdlite in #​13740)
- Schedule
requestAnimationFrameearlier. (@​acdlite in #​13785) - Fix the DOM detection to be more thorough. (@​trueadm in #​13731)
- Fix bugs with interaction tracing. (@​bvaughn in #​13590)
- Add the
envifytransform to the package. (@​mridgway in #​13766)
v16.5.2
React DOM
- Fixed a recent
<iframe>regression (@​JSteunou in #​13650) - Fix `up
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.