fix(deps): update react monorepo (major) - #42
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
from
March 15, 2021 17:47
bcfe40c to
0839f4b
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
from
March 23, 2021 00:17
0839f4b to
8dcf6ef
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
2 times, most recently
from
April 4, 2021 16:18
5b35c41 to
7728012
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
2 times, most recently
from
May 14, 2021 10:17
f6ae976 to
0010292
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
from
May 20, 2021 23:24
0010292 to
c46ee6e
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
from
June 5, 2021 03:47
c46ee6e to
0797a9e
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
2 times, most recently
from
June 16, 2021 18:37
21cf3da to
b43c476
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
from
September 2, 2021 08:57
b43c476 to
7fd77f6
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
from
November 9, 2021 16:03
7fd77f6 to
4650ec0
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
from
March 29, 2022 18:17
4650ec0 to
3c54ad7
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
from
April 26, 2022 21:08
3c54ad7 to
6f2dea3
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
from
May 12, 2022 19:11
6f2dea3 to
3fcf611
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
from
June 14, 2022 23:15
3fcf611 to
506263e
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
from
June 22, 2022 20:49
506263e to
7c56d08
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
from
August 1, 2022 21:19
7c56d08 to
15d7aa5
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
from
November 3, 2022 18:06
15d7aa5 to
b221704
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
from
December 30, 2022 15:07
b221704 to
a1779c4
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
2 times, most recently
from
April 26, 2024 18:13
6b91a2d to
982a9b1
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
from
October 11, 2024 16:43
982a9b1 to
8f8435e
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
from
December 5, 2024 20:24
8f8435e to
f02bbbc
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
from
February 28, 2025 17:53
f02bbbc to
db2052f
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
from
March 28, 2025 22:58
db2052f to
62f5c7d
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
from
April 21, 2025 19:04
62f5c7d to
da54874
Compare
renovate
Bot
force-pushed
the
renovate/major-react-monorepo
branch
from
April 21, 2025 23:36
da54874 to
0ce19e2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.6.1->5.2.02.0.1->5.2.016.8.6->19.1.016.14.0->19.1.016.8.6->19.1.016.8.6->19.1.0Release Notes
facebook/react (eslint-plugin-react-hooks)
v5.2.0Compare Source
v5.1.0Compare Source
v5.0.0Compare Source
_Buttonor_componentare no longer valid. (@kassens) in #25162useActionStatestable. (@eps1lon in #29665)asexpression in callback. (@StyleShit in #28202)asexpressions in deps array. (@StyleShit in #28189)React.use()the same asuse(). (@kassens in #27769)use()lint to non-experimental. (@kassens in #27768)asexpressions. (@cpojer in #27590)useEffect(fn, undefined). (@kassens in #27525)useEventtouseEffectEvent. (@sebmarkbage in #25881)useEventfunctions in dependency lists. (@poteto in #25512)useEventreferences instead. (@poteto in #25319)RulesOfHookswithuseEventrules. (@poteto in #25285)v4.6.2Compare Source
v4.6.1Compare Source
v4.6.0v4.5.0v4.4.0v4.3.0useTransitionsignature in the rule. (@rickhanlonii in #20976)v4.2.0v4.1.2v4.1.1v4.1.0v4.0.8typeofannotation to not be considered a dependency. (@delca85 in #19316)v4.0.7v4.0.6v4.0.5v4.0.4v4.0.3Effectdue to too many false positives. (@gaearon in #19004)v4.0.2Effectin the middle from being considered effects. (@surgeboris in #18907)v4.0.1v4.0.0PascalCase.useFoo()calls as Hooks. (@cyan33 in #18722)Effect. (@airjp73 in #18580)useRefas constant. (@sophiebits in #18496)v3.0.0v2.5.0v2.4.0forwardRef. (@dprgarner in #17255)Effect. (@gaearon in #17663)v2.0.0facebook/react (react)
v19.1.0Compare Source
v19.0.0Compare Source
Below is a list of all new features, APIs, deprecations, and breaking changes. Read React 19 release post and React 19 upgrade guide for more information.
New Features
React
startTransitioncan now accept async functions. Functions passed tostartTransitionare called “Actions”. A given Transition can include one or more Actions which update state in the background and update the UI with one commit. In addition to updating state, Actions can now perform side effects including async requests, and the Action will wait for the work to finish before finishing the Transition. This feature allows Transitions to include side effects likefetch()in the pending state, and provides support for error handling, and optimistic updates.useActionState: is a new hook to order Actions inside of a Transition with access to the state of the action, and the pending state. It accepts a reducer that can call Actions, and the initial state used for first render. It also accepts an optional string that is used if the action is passed to a formactionprop to support progressive enhancement in forms.useOptimistic: is a new hook to update state while a Transition is in progress. It returns the state, and a set function that can be called inside a transition to “optimistically” update the state to expected final value immediately while the Transition completes in the background. When the transition finishes, the state is updated to the new value.use: is a new API that allows reading resources in render. In React 19,useaccepts a promise or Context. If provided a promise,usewill suspend until a value is resolved.usecan only be used in render but can be called conditionally.refas a prop: Refs can now be used as props, removing the need forforwardRef.React DOM Client
<form> actionprop: Form Actions allow you to manage forms automatically and integrate withuseFormStatus. When a<form> actionsucceeds, React will automatically reset the form for uncontrolled components. The form can be reset manually with the newrequestFormResetAPI.<button> and <input> formActionprop: Actions can be passed to theformActionprop to configure form submission behavior. This allows using different Actions depending on the input.useFormStatus: is a new hook that provides the status of the parent<form> action, as if the form was a Context provider. The hook returns the values:pending,data,method, andaction.<head>section of the document.<head>on the client before revealing the content of a Suspense boundary that depends on that stylesheet.preinit,preload,prefetchDNS, andpreconnectAPIs to optimize initial page loads by moving discovery of additional resources like fonts out of stylesheet loading. They can also be used to prefetch resources used by an anticipated navigation.React DOM Server
prerenderandprerenderToNodeStreamAPIs for static site generation. They are designed to work with streaming environments like Node.js Streams and Web Streams. UnlikerenderToString, they wait for data to load for HTML generation.React Server Components
Deprecations
element.refaccess: React 19 supports ref as a prop, so we’re deprecatingelement.refin favor ofelement.props.ref. Accessing will result in a warning.react-test-renderer: In React 19, react-test-renderer logs a deprecation warning and has switched to concurrent rendering for web usage. We recommend migrating your tests to @testing-library/react or @testing-library/react-nativeBreaking Changes
React 19 brings in a number of breaking changes, including the removals of long-deprecated APIs. We recommend first upgrading to
18.3.1, where we've added additional deprecation warnings. Check out the upgrade guide for more details and guidance on codemodding.React
onUncaughtErrorandonCaughtErrormethods tocreateRootandhydrateRootto customize this error handling.propTypes: UsingpropTypeswill now be silently ignored. If required, we recommend migrating to TypeScript or another type-checking solution.defaultPropsfor functions: ES6 default parameters can be used in place. Class components continue to supportdefaultPropssince there is no ES6 alternative.contextTypesandgetChildContext: Legacy Context for class components has been removed in favor of thecontextTypeAPI.React.createFactory: Now that JSX is broadly supported, allcreateFactoryusage can be migrated to JSX components.react-test-renderer/shallow: This has been a re-export of react-shallow-renderer since React 18. If needed, you can continue to use the third-party package directly. We recommend using @testing-library/react or @testing-library/react-native instead.React DOM
react-dom/test-utils: We’ve movedactfromreact-dom/test-utilsto react. All other utilities have been removed.ReactDOM.render,ReactDOM.hydrate: These have been removed in favor of the concurrent equivalents:ReactDOM.createRootandReactDOM.hydrateRoot.unmountComponentAtNode: Removed in favor ofroot.unmount().ReactDOM.findDOMNode: You can replaceReactDOM.findDOMNodewith DOM Refs.Notable Changes
React
<Context>as a provider: You can now render<Context>as a provider instead of<Context.Provider>.useDeferredValueinitial value argument: When provided,useDeferredValuewill return the initial value for the initial render of a component, then schedule a re-render in the background with thedeferredValuereturned.useMemoanduseCallbackwill now reuse the memoized results from the first render, during the second render. Additionally, StrictMode will now double-invoke ref callback functions on initial mount.React DOM
TypeScript Changes
The most common changes can be codemodded with
npx types-react-codemod@latest preset-19 ./path-to-your-react-ts-files.ReactChild(replacement:React.ReactElement | number | string)ReactFragment(replacement:Iterable<React.ReactNode>)ReactNodeArray(replacement:ReadonlyArray<React.ReactNode>)ReactText(replacement:number | string)VoidFunctionComponent(replacement:FunctionComponent)VFC(replacement:FC)prop-types:Requireable,ValidationMap,Validator,WeakValidationMapcreate-react-class:ClassicComponentClass,ClassicComponent,ClassicElement,ComponentSpec,Mixin,ReactChildren,ReactHTML,ReactSVG,SFCFactoryuseRef: The initial argument is now required to matchuseState,createContextetcuseRef()are now always mutable instead of sometimes being immutable. This feature was too confusing for users and conflicted with legit cases where refs were managed by React and manually written to.ReactElementtyping: The props of React elements now default tounknowninstead ofanyif the element is typed asReactElementJSXnamespace is removed to improve interoperability with other libraries using JSX. Instead, the JSX namespace is available from the React package:import { JSX } from 'react'useReducertypings: MostuseReducerusage should not require explicit type arguments.For example,
All Changes
React
useActionState()hook to update state based on the result of a Form Action (#27270, #27278, #27309, #27302, #27307, #27366, #27370, #27321, #27374, #27372, #27397, #27399, #27460, #28557, #27570, #27571, #28631, #28788, #29694, #29695, #29694, #29665, #28232, #28319 by @acdlite, @eps1lon, and @rickhanlonii)use()API to read resources in render (#25084, #25202, #25207, #25214, #25226, #25247, #25539, #25538, #25537, #25543, #25561, #25620, #25615, #25922, #25641, #25634, #26232, #26536, #26739, #28233 by @acdlite, @MofeiZ, @sebmarkbage, @sophiebits, @eps1lon, and @hansottowirtz)useOptimistic()hook to display mutated state optimistically during an async mutation (#26740, #26772, #27277, #27453, #27454, #27936 by @acdlite)initialValueargument touseDeferredValue()hook (#27500, #27509, #27512, #27888, #27550 by @acdlite)element.refaccess (#28348, #28464, #28731 by @acdlite)<Context>to mean<Context.Provider>(#28226 by @gaearon)info,group, andgroupCollapsedin StrictMode logging (#25172 by @timneutkens)useSyncExternalStore()hydration in StrictMode (#26791 by @sophiebits)componentWillUnmount()in StrictMode (#26842 by @tyao1)useState()anduseReducer()initializer functions in StrictMode (#28248 by @eps1lon)useId()in StrictMode (#25713 by @gnoff)act()no longer checksshouldYieldwhich can be inaccurate in test environments (#26317 by @acdlite)react.elementsymbol toreact.transitional.element(#28813 by @sebmarkbage)useSyncExternalStore()re-render (#27199 by @acdlite)useSyncExternalStore()dropped update when state is dispatched in render phase (#25578 by @pandaiolo)RefreshRuntime.findAffectedHostInstances(#30538 by @gaearon)cache()API (#27977, #28250 by @acdlite and @gnoff)propTypes(#28324, #28326 by @gaearon)defaultPropssupport, except for classes (#28733 by @acdlite)createFactory(#27798 by @kassens)React DOM
useFormStatus()hook to provide status information of the last form submission (#26719, #26722, #26788, #29019, #28728, #28413 by @acdlite and @eps1lon)preinit,preinitModule,preconnect,prefetchDNS,preload, andpreloadModuleAPIs.fetchPriorityto<img>and<link>(#25927 by @styfle)transformOriginprop (#26130 by @arav-ind)onScrollEndevent (#26789 by @devongovett)<hr>as child of<select>(#27632 by @SouSingh)inert(#24730 by @eps1lon)imageSizesandimageSrcSet(#22550 by @eps1lon)flushSyncexhausts queue even if something throws (#26366 by @acdlite)reactandreact-domversions don’t match (#29236 by @acdlite)srcsetandsrcare assigned last on<img>instances (#30340 by @gnoff)srcandhrefattributes (unless for<a href=”” />) (#18513, #28124 by @bvaughn and @eps1lon)scalestyle property (#25601 by @JonnyBurger)onChangeerror message for controlled<select>(#27740 by @Biki-das)render,hydrate,findDOMNode,unmountComponentAtNode,unstable_createEventHandle,unstable_renderSubtreeIntoContainer, andunstable_runWithPriority. MovecreateRootandhydrateRoottoreact-dom/client. (#28271 by @gnoff)test-utils(#28541 by @eps1lon)unstable_flushControlled(#26397 by @kassens)renderToStaticNodeStream()(#28873 by [@​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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.