Skip to content

Update react-router-dom → 6.13.0 (unknown)#131

Closed
depfu[bot] wants to merge 1 commit intomainfrom
depfu/update/ApplicationCodeMyprojectfrontend/npm/react-router-dom-6.13.0
Closed

Update react-router-dom → 6.13.0 (unknown)#131
depfu[bot] wants to merge 1 commit intomainfrom
depfu/update/ApplicationCodeMyprojectfrontend/npm/react-router-dom-6.13.0

Conversation

@depfu
Copy link
Contributor

@depfu depfu bot commented Jun 15, 2023

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ react-router-dom (^5.2.0 → ^6.13.0) · Repo · Changelog

Release Notes

6.13.0 (from changelog)

Minor Changes

  • Move React.startTransition usage behind a future flag to avoid issues with existing incompatible Suspense usages. We recommend folks adopting this flag to be better compatible with React concurrent mode, but if you run into issues you can continue without the use of startTransition until v7. Issues usually boils down to creating net-new promises during the render cycle, so if you run into issues you should either lift your promise creation out of the render cycle or put it behind a useMemo. (#10596)

    Existing behavior will no longer include React.startTransition:

    <BrowserRouter>
    <Routes>{/.../}</Routes>
    </BrowserRouter>

    <RouterProvider router={router} />

    If you wish to enable React.startTransition, pass the future flag to your component:

    <BrowserRouter future={{ v7_startTransition: true }}>
    <Routes>{/.../}</Routes>
    </BrowserRouter>

    <RouterProvider router={router} future={{ v7_startTransition: true }}/>

Patch Changes

  • Work around webpack/terser React.startTransition minification bug in production mode (#10588)
  • Updated dependencies:
    • react-router@6.13.0

Does any of this look wrong? Please let us know.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu
Copy link
Contributor Author

depfu bot commented Jun 25, 2023

Closed in favor of #133.

@depfu depfu bot closed this Jun 25, 2023
@depfu depfu bot deleted the depfu/update/ApplicationCodeMyprojectfrontend/npm/react-router-dom-6.13.0 branch June 25, 2023 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants