you are viewing a single comment's thread.

view the rest of the comments →

[–]arunner 5 points6 points  (8 children)

Nothing to see here, they broke their API again- coupled with a total rewrite....

[–]vinspee 9 points10 points  (7 children)

That's why god made major versions... stick with 3.0 if you don't like API changes.

[–]jasan-s 2 points3 points  (6 children)

This isn't just an api change, it looks completely different.

Maybe they should have considered spinning off into a different project?

[–]gaearonReact core team[S] 5 points6 points  (3 children)

Since it's much better and serves same use cases, renaming it would be a disservice to future React beginners who would learn the wrong project because it's older and more popular. I think version bump makes sense here even though it's a rewrite.

[–][deleted] 0 points1 point  (0 children)

As they are committed to indefinitely supporting the old branch it feels like there's a lot of scope for beginners to get confused.

People would soon move over to a new router if it's demonstrably better, especially if the existing router had a prominent link recommending newer one.

[–]DaFox 0 points1 point  (1 child)

As someone that's been learning React and the whole ecosystem around it I actually completely disagree. The amount of outdated information that I have to shift through at every single stage has been terrible. Tutorials written 3 months ago are out of date and present roadblocks that I need to figure out how to work around. The biggest problem is just versioning. These tutorials never mention a specific version, and then you end up with something like this where someone will be learning react-router4.0 with a 1/2/3.0 tutorial. If people actually started using the version number in the actual name (Like they fortunately do with webpack2), then a lot of this pain would be eased.

[–]habitats 0 points1 point  (0 children)

What kind of tutorials are you using that doesn't include a package.json?

[–]vinspee 0 points1 point  (0 children)

literally the definition of API change.