News for hackers. Stuff that matters.
Re:Switching From React To Vue.js by buchanaf on Sunday May 28, 2017 @10:43AM (#14434531)
I mean react-router is almost a 3 year old library trying to handle a rather complex problem. The first three versions were largely the same with no major changes that I can think of except for switching from context to higher order functions.

I think everyone is a little dramatic about the number of versions of the library, especially when they are going to continue to support v3.

Re:Switching From React To Vue.js by ricardobeat on Sunday May 28, 2017 @12:59PM (#14435175)
Well, that just makes things even worse - now you have to choose which version to use, which is just proving the OPs point.
Re:Switching From React To Vue.js by pluma on Sunday May 28, 2017 @01:33PM (#14435299)
If you don't like having to choose which version of react-router to choose, you probably should be using a preset like create-react-app which makes this kind of decision for you. Or you should use something other than React which includes everything and the kitchen sink.
Re:Switching From React To Vue.js by ricardobeat on Sunday May 28, 2017 @02:05PM (#14435418)
Exactly! (snark aside)
Re:Switching From React To Vue.js by buchanaf on Sunday May 28, 2017 @02:21PM (#14435470)
This doesn't really make sense to me. You have to pick a version for literally every single library you use. And those different versions have different interfaces, which is why they have different versions...
Re:Switching From React To Vue.js by aleksandrm on Sunday May 28, 2017 @01:54PM (#14435378)
Routing is not very complex.