react-router-native
react-router-native copied to clipboard
Will RR v4 be supported?
I just saw this https://medium.com/@jschloer/react-router-v4-with-react-native-5f2005ab2a72#.u7xdfdcie
It seems that this project won't be useful with v4, not sure if that's already the case with v3 (I don't know RN yet, but I plan to port my RN-web app to RN, so I am investigating).
Just saw that also. Here's my comment if you're interested.
Currently we only support v3 and I'm working on v4 support right now. It won't be easy but I'm determined. 🤓
🍺
My concern is: we need advanced features from RR like SSR and route hooks like onEnter for data fetching (they are await
ed on server for prepopulating client-side flux stores; not awaited on client). I'm sure these use cases will be supported eventually. But we have a shared codebase for web and native and it'd be nice to stay on RR3 for web while these concerns are sorted out. When react-router-native forces you into RR4 that'd be problematic in our specific case.
@jonathanewerner No worries. We'll still maintain support for v3. React Router v4 is still an experiment, really. It'll take a while before it reaches stability, and this buys us time to make it work on React Native.
Hi,
Are you currently working on the react-router-native v4 version ? I didn't see a branch for that in the repository.
Thanks for your work.
Hi there, kind of wondering the same thing as benjaminbillet. I was also looking for a v4-branch to track progress.
I'm currently testing react router 4 alpha in a react-native project and the new API feels Really good. But I do miss the transitions and other mobile-specific things, which is why I'm so optimistic about your project :).