Awesome docs, BTW!
React Router: Declarative Routing for React
11–20 of 68 posts
Re: React Router: Declarative Routing for React
#12The docs are super good. I love the "embedded browser" that shows how it works. Shameless self plug: our book [1] has a whole chapter on Routing in React with this new v4 router. After you've finished reading the docs, if you want a tutorial style walk-through of this router v4, we build a Spotify-type clone over the course of 75+ pages. [1]: https://www.fullstackreact.com
Re: React Router: Declarative Routing for React
#13Re: React Router: Declarative Routing for React
#14i like the power of the new API but i'm not sure i'm entirely sold on the declaration syntax. adjacent tags which specify things that may appear in the same place depending on the route seems a bit strange conceptually to me. i'll have to play around with it on a real-world project to see how it feels in practice. i didn't see it mentioned in the docs, but does the new version fix the awkward handling of scrolling an…
Re: React Router: Declarative Routing for React
#15^ helped me understand what changes are coming.
Re: React Router: Declarative Routing for React
#16The website is broken on mobile - elements overlap and content is not visible.
Re: React Router: Declarative Routing for React
#17I definitely like the way they decided to move in the latest version. I never was comfortable with the previous API -- it just didn't feel right, and it was kind of restrictive.
Re: React Router: Declarative Routing for React
#18Could someone comment about how this compares with other projects like: https://github.com/react-community/react-navigation and https://github.com/facebook/react-native/blob/master/docs/Us... ? Awesome docs, BTW!
React Router v4 is building a react-native integration to show that it is capable of working on Native. It's centered around URLs so it's attempting to make Deep Linking into your application easier, as well potentially re-using the same navigation on the web.
That being said react-navigation can do both of those things as well and is fully supported by react-native core contributors.
Re: React Router: Declarative Routing for React
#19The website is broken on mobile - elements overlap and content is not visible.
Re: React Router: Declarative Routing for React
#20Could someone comment about how this compares with other projects like: https://github.com/react-community/react-navigation and https://github.com/facebook/react-native/blob/master/docs/Us... ? Awesome docs, BTW!