jmurzy / react-router-native

A routing library for React Native that strives for sensible API parity with react-router 🤖
MIT License
638 stars 44 forks source link

Will RR v4 be supported? #48

Open MoOx opened 8 years ago

MoOx commented 8 years ago

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

jmurzy commented 8 years ago

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

🍺

jonathanglasmeyer commented 8 years ago

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.

jmurzy commented 8 years ago

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

benjaminbillet commented 7 years ago

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.

ippa commented 7 years ago

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