-
Notifications
You must be signed in to change notification settings - Fork 2
chore(deps): bump react and @types/react #281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Needs ReviewI recommend reviewing this upgrade before merging because React has been upgraded to version 19.2.0 while react-dom remains at 18.3.1, creating a major version mismatch. Although the codebase is already using the modern createRoot API and functional components with hooks (avoiding all deprecated APIs), the version mismatch between React core and react-dom requires upgrading react-dom to version 19.x to ensure compatibility. Additionally, @types/react-dom should be updated to version 19.x to match the upgraded @types/react 19.2.2. The good news is that no code changes are required since the application already follows React 19 best practices. What we checked
Dependency UsageReact serves as the foundational UI framework for this community events application, with the useState hook powering interactive features across the navigation menu, community event displays, and breakout room management forms. The library enables a multi-section landing page experience with smooth scrolling navigation between global townhalls, community events, and breakout rooms, supporting the application's core mission of organizing and presenting Catalyst community gatherings. The architecture follows a standard component-based pattern with state management distributed across four stateful components (NavBar, CommunityCards, HostRooms, and previously undetected NavBar mobile menu).
This code initializes a React application by rendering the
This code imports React's View 1 more usage
This code imports the Other Usages (3)These usages were analyzed but no breaking changes were detected: react
ChangesThe
View 280 more changes
References (6)[1]: React upgraded to ^19.2.0 while react-dom remains at ^18.3.1, creating a major version mismatch that requires react-dom upgrade to 19.x Line 15 in 3a4233c
[2]: react-dom at version ^18.3.1 needs to be upgraded to ^19.2.0 to match React core library version Line 16 in 3a4233c
[3]: @types/react-dom at version ^18.3.1 should be upgraded to ^19.x to match @types/react 19.2.2 Line 24 in 3a4233c
[4]: Already using modern createRoot API from react-dom/client - no code changes needed for React 19 compatibility Line 2 in 3a4233c
[5]: Application correctly uses createRoot instead of deprecated ReactDOM.render - compatible with React 19 Line 5 in 3a4233c
[6]: Official React 19 upgrade guide confirms react-dom must be upgraded alongside React core library to maintain compatibility (source link) fossabot analyzed this PR using static analysis and dependency research. |
a7074ac to
57e535f
Compare
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
57e535f to
19f90ea
Compare
19f90ea to
3c95137
Compare
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together. Updates `react` from 18.3.1 to 19.2.0 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.0/packages/react) Updates `@types/react` from 18.3.12 to 19.2.2 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: react dependency-version: 19.2.0 dependency-type: direct:production update-type: version-update:semver-major - dependency-name: "@types/react" dependency-version: 19.2.2 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
3c95137 to
cd7f89e
Compare
Bumps react and @types/react. These dependencies needed to be updated together.
Updates
reactfrom 18.3.1 to 19.2.0Release notes
Sourced from react's releases.
... (truncated)
Changelog
Sourced from react's changelog.
... (truncated)
Commits
5667a41Bump next prerelease version numbers (#34639)8bb7241Bump useEffectEvent to Canary (#34610)e3c9656Ensure Performance Track are Clamped and Don't overlap (#34509)68f00c9Release Activity in Canary (#34374)0e10ee9[Reconciler] Set ProfileMode for Host Root Fiber by default in dev (#34432)3bf8ab4Add missing Activity export to development mode (#34439)1549bda[Flight] Only assign_storein dev mode when creating lazy types (#34354)bb6f0c8[Flight] Fix wrong missing key warning when static child is blocked (#34350)05addfcUpdate Flow to 0.266 (#34271)ec5dd0aUpdate Flow to 0.257 (#34253)Updates
@types/reactfrom 18.3.12 to 19.2.2Commits
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 show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@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)