Jake Murzy
1 min readSep 16, 2016

--

This is great and I agree v4 is a leap forward but navigation on mobile is a tad bit more complicated than recursively mapping URLs to components. Mobile apps have navigation semantics unique to their respective platforms and transition animations are a big part of that. Also, the recursive approach fails when you need to know the next navigation state in advance to be able to make a routing decision. You can’t just render an entire component tree based on some <Match> condition. That being said, I’ve been working on a project called React Router Native that extends React Router to make it work on React Native. I’m working on v4 support right now. Let me know what you think.

--

--

Jake Murzy

The future will bear witness to endless debates over the morality of if…else statements. @jmurzy