Comments (8)
I don't think it's possible. Because of new data APIs like loaders, actions, fetchers.
PR is welcome.
from redux-react-router.
Hi, is there any update on this one? 🙏
I am trying to use new router v6 hooks (e.g useBlocker) but they can be only used within Router that supports new data API (e.g RouterProvider) 😭
I tried to get around it by nesting <RouterProvider />
inside <ReduxRouter / >
👀 as someone tried here #20 but I ended with the same error 💁♀️ "You cannot render a <Router>
inside another <Router>
" (#20).
Looks that we cannot:
- use two Routers in one app
- use Router that support new data API because
<ReduxRouter / >
is based on plain Router component currently
from redux-react-router.
What's the update on that one? Thanks a lot!
from redux-react-router.
bump on this one
from redux-react-router.
What are the full list of requirements for achieving this ?
from redux-react-router.
I'm in the exact same position as @dannutiee. Migrating a fairly large application from router v5 to v6, and got everything working up until trying to use the new data API.
from redux-react-router.
Same as @dannutiee .
from redux-react-router.
added a PR two years ago but still didn't get merged. with react-router v2 it us unfortunately not possible to use redux-react-router so we decided to not use it anymore and dropped the dependency.
from redux-react-router.
Related Issues (17)
- examples reducers.tsx HOT 1
- Question about plans for package maintenance HOT 1
- Have an issue The prop `history` is marked as required in `Router`, but its value is `undefined`. HOT 5
- Cannot read properties of undefined (reading 'action') HOT 2
- Routes seem to be 'cached', trying to access the same route results in no navigation HOT 1
- Storing reducer with custom key HOT 2
- Using createBrowserRouter and other same functions HOT 3
- Missing class properties transform HOT 2
- You cannot render a <Router> inside another <Router> HOT 1
- Update to react-redux 9 HOT 1
- Can't call setState on a component that is not yet mounted.
- extend support for react v16 HOT 1
- Invalid error seen HOT 1
- React-redux v8 not supported HOT 3
- Browser's back button doesn't trigger @@router/ON_LOCATION_CHANGED HOT 1
- ProtectedRoute: Navigate Component not working HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redux-react-router.