react-router-native icon indicating copy to clipboard operation
react-router-native copied to clipboard

Will RR v4 be supported?

Open MoOx opened this issue 8 years ago • 5 comments

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).

MoOx avatar Sep 16 '16 07:09 MoOx

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. 🤓

🍺

jmurzy avatar Sep 16 '16 07:09 jmurzy

My concern is: we need advanced features from RR like SSR and route hooks like onEnter for data fetching (they are awaited 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.

jonathanglasmeyer avatar Sep 16 '16 09:09 jonathanglasmeyer

@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.

jmurzy avatar Sep 16 '16 09:09 jmurzy

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.

benjaminbillet avatar Oct 25 '16 09:10 benjaminbillet

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 :).

ippa avatar Nov 12 '16 13:11 ippa