i 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…
browsers are handling that now https://majido.github.io/scroll-restoration-proposal/history...
React Router: Declarative Routing for React
61–68 of 68 posts
Re: React Router: Declarative Routing for React
#62Earlier quoted context omitted.
0.13 -> 1.0 was breaking 1.0 -> 2.0 was fully BC That was 2 years with only one breaking change. 2.0 -> 3.0 removed deprecated 1.0 API, fully BC with 2.0 The only churn is for people who don't stick to stable releases, and that's their own problem.
v2.0.0 released this on Feb 10, 2016 v3.0.0-alpha.1 released this on May 19, 2016 v3.0.0-alpha.3 released this on Aug 2, 201 v3.0.0-beta.1 released this on Sep 16, 2016 v4.0.0-0 released this on Sep 13, 2016 v3.0.0 released this on Oct 24, 2016 > ... and that's their own problem. Hence deprecation right out the gate. V4 is much better, great work - but blaming users for API churn does not make me confident. Sure user…
Re: React Router: Declarative Routing for React
#63Earlier quoted context omitted.
0.13 -> 1.0 was breaking 1.0 -> 2.0 was fully BC That was 2 years with only one breaking change. 2.0 -> 3.0 removed deprecated 1.0 API, fully BC with 2.0 The only churn is for people who don't stick to stable releases, and that's their own problem.
v2.0.0 released this on Feb 10, 2016 v3.0.0-alpha.1 released this on May 19, 2016 v3.0.0-alpha.3 released this on Aug 2, 201 v3.0.0-beta.1 released this on Sep 16, 2016 v4.0.0-0 released this on Sep 13, 2016 v3.0.0 released this on Oct 24, 2016 > ... and that's their own problem. Hence deprecation right out the gate. V4 is much better, great work - but blaming users for API churn does not make me confident. Sure user…
Re: React Router: Declarative Routing for React
#64I was going to complain about churn and such, but we've all heard the JavaScript framework fatigue story a thousand times. I'll summarize it to this: don't expect a solid, stable, boring library to come out of someone's hobby project. React itself bloomed under Facebook's stewardship, while all the other libraries in the ecosystem are bouncing all over the place without anything to keep them in place, especially afte…
Re: React Router: Declarative Routing for React
#65 font-family: Monaco;
I don't have Monaco on Windows so it's using Times New Roman :\Re: React Router: Declarative Routing for React
#66Earlier quoted context omitted.
False analogy - RR is a de-facto standard in the web development community, hence my comparison to a building code.
No, RR is the de facto standard for the React community. And they're not doing training just on RR. Claiming that because they made the most popular routing library for React it's shady to provide tutoring about it for profit is very much of a stretch in my book. Care to explain where exactly is the conflict of interest? Does that mean it's also shady to work as consultants? Where is the line drawn? Do you really bel…
Re: React Router: Declarative Routing for React
#67Earlier quoted context omitted.
Out of curiosity, why was the decision made to build a completely new router (react-navigation) vs collaborating on better native support to the existing react-router? (which is working towards that anyway)
Difference in opinions about what could be accomplished via react-router vs what native paradigms needed to be crafted.
Re: React Router: Declarative Routing for React
#68Earlier quoted context omitted.
Yes, we're fixing that as we speak. It will be up to date shortly.
I am considering buying this for an engineer that works for me to get up to speed on React in the very near future. I only want to start him on ES6+ syntax though. How long do you think until it will be up-to-date?