This bugfix release removes the no-longer-necessary peer dependency on react-native, and tweaks a few TS types for compat with the upcoming React 19 release.
Changes
React Native Peer Dependency Removed
We've always had an awkward peer dependency on both ReactDOM and React Native, because of the need to import the unstable_batchedUpdates API directly from each reconciler. That's part of what led to the sequence of 9.x patch releases to deal with RN compat.
As of 9.0.3, we dropped the batching imports completely, since React 18 now batches by default. That means we didn't even have any remaining imports from react-native.
Meanwhile, React 18.3 just came out, but so did React Native 0.74. RN 0.74 still requires React 18.2.
This caused NPM users to have installation failures when trying to use React-Redux:
React-Redux has a peer dep on RN
RN has a peer dep on React 18.2
But the latest React, 18.3 would get installed in the app
NPM errors with a peer dep mismatch
We no longer need to list RN as a peer dep, and dropping that also fixes the NPM installation issues as well.
This bugfix release fixes an issue with connect and React Native caused by changes to our bundling setup in v9. Nested connect calls should work correctly now.
Check for document existence when checking startViewTransition (#11544)
Change the react-router-dom/server import back to react-router-dom instead of index.ts (#11514)
Updated dependencies:
@remix-run/router@1.16.1
react-router@6.23.1
6.23.0
Minor Changes
Add a new unstable_dataStrategy configuration option (#11098)
This option allows Data Router applications to take control over the approach for executing route loaders and actions
The default implementation is today's behavior, to fetch all loaders in parallel, but this option allows users to implement more advanced data flows including Remix single-fetch, middleware/context APIs, automatic loader caching, and more
Bumps the all-dependencies group with 17 updates in the /frontend directory:
1.6.8
1.7.2
2.0.6
3.0.0
18.2.0
18.3.1
18.2.0
18.3.1
9.1.0
9.1.2
6.22.3
6.23.1
5.26.3
5.26.4
7.24.1
7.24.6
7.24.3
7.24.6
7.24.1
7.24.6
7.24.3
7.24.6
7.24.1
7.24.6
8.57.0
9.4.0
7.34.1
7.34.2
4.1.0
4.2.0
3.1.0
3.1.2
18.2.0
18.3.1
Updates
axios
from 1.6.8 to 1.7.2Release notes
Sourced from axios's releases.
... (truncated)
Changelog
Sourced from axios's changelog.
... (truncated)
Commits
0e4f9fa
chore(release): v1.7.2 (#6414)4f79aef
fix(fetch): enhance fetch API detection; (#6413)67d1373
chore(release): v1.7.1 (#6411)733f15f
fix(fetch): fixed ReferenceError issue when TextEncoder is not available in t...3041c61
[Release] v1.7.0 (#6408)18b13cb
chore(docs): add fetch adapter docs; (#6407)e62099b
fix(fetch): fixed a possible memory leak in the AbortController for the strea...b49aa8e
chore(release): v1.7.0-beta.2 (#6403)d57f03a
chore(ci): bump create-pull-request version to fix a bug; (#6405)097b0d1
chore(ci): add tag resolution for npm releases based on package version; (#6404)Updates
http-proxy-middleware
from 2.0.6 to 3.0.0Release notes
Sourced from http-proxy-middleware's releases.
... (truncated)
Changelog
Sourced from http-proxy-middleware's changelog.
Commits
84bfa46
chore(package): v3.0.0 (#947)19a3f00
chore(package): bump dev dependencies (#977)e4932b3
docs: fix documentation for websockets (#953)bd35b7b
ci(github-actions): update actions/setup-node to v4 (#951)82ad7c1
test(types): contextual types (#946)a703969
docs(nextjs): improve nextjs example (#945)d286ac8
build(gitpod): remove deprecated config (#944)8d3e9bb
ci(github-actions): bump actions/checkout to v4 (#939)8294cdb
docs(README): fix snyk badge (#937)7a65719
chore(package): bump dev dependencies (#935)Updates
react
from 18.2.0 to 18.3.1Release notes
Sourced from react's releases.
Changelog
Sourced from react's changelog.
Commits
f1338f8
ExportReact.act
from 18.3d6c42f7
Bump to 18.3.173bfaa1
Turn on key spread warning in jsx-runtime for everyone (#25697)c2a246e
Turn on string ref deprecation warning for everybody (not codemoddable) (#25383)2cfb474
Bump version from 18.2 to 18.3Maintainer changes
This version was pushed to npm by react-bot, a new releaser for react since your current version.
Updates
react-dom
from 18.2.0 to 18.3.1Release notes
Sourced from react-dom's releases.
Changelog
Sourced from react-dom's changelog.
Commits
d6c42f7
Bump to 18.3.18a015b6
Add deprecation warning for unmountComponentAtNodec3b2839
Add deprecation warning for findDOMNoded4ea75d
ReactDOMTestUtils deprecation warnings7548c01
DeprecaterenderToStaticNodeStream
(#28872) (#28874)5894232
Enable warning for defaultProps on function components for everyone (#25699)c2a246e
Turn on string ref deprecation warning for everybody (not codemoddable) (#25383)2cfb474
Bump version from 18.2 to 18.3Maintainer changes
This version was pushed to npm by react-bot, a new releaser for react-dom since your current version.
Updates
react-redux
from 9.1.0 to 9.1.2Release notes
Sourced from react-redux's releases.
Commits
1af75b3
Release 9.1.2eec5f9b
Merge pull request #2168 from reduxjs/feature/react-19-typesa752cc6
Fix remaining React 19 types compat issues23c0c22
Add explicit@types/prop-types
depbfa3c36
Merge pull request #2167 from reduxjs/bugfix/remove-rn-peerdep427791b
Drop now-unneeded RN peer depf404f82
Replace usage of deprecatedJSX
global namespace withReact.JSX
(#2163)5ec7970
FixuseRef
usages to be called with an explicit argument ofundefined
. (#...d44ff74
Release 9.1.10396da3
Merge pull request #2156 from aryaemami59/fix-RN-useIsomorphicLayoutEffect-issueUpdates
react-router-dom
from 6.22.3 to 6.23.1Release notes
Sourced from react-router-dom's releases.
... (truncated)
Changelog
Sourced from react-router-dom's changelog.
Commits
aef5c4a
chore: Update version for release (#11551)26bc8e2
chore: Update version for release (pre) (#11545)031478d
Add defensive window.document check when checking for startViewTransition (#1...9651465
chore: Update version for release (pre) (#11516)fdff9dd
Fix react-router-dom/server index.ts import from pnpm migration (#11514)82a3a77
chore: Update version for release (#11486)8a20f32
chore: Update version for release (pre) (#11387)88ec71a
chore: Update version for release (pre) (#11379)12afb2e
Migrate to pnpm (#11358)c7dd3d3
Data Strategy Configuration (#11098)Updates
react-tooltip
from 5.26.3 to 5.26.4Release notes
Sourced from react-tooltip's releases.
Commits
54aeda9
chore(version): v5.26.4ab0f163
fix: escape single quotes fromdata-tooltip-id
selectorc7f865f
docs: add issue withcloseEvents
to troubleshootingUpdates
@babel/cli
from 7.24.1 to 7.24.6Release notes
Sourced from
@babel/cli
's releases.... (truncated)
Changelog
Sourced from
@babel/cli
's changelog.