Re:Vanilla-todo: A case study on viable techniques for vanil...
by NiceNamesOrg on Tuesday October 27, 2020 @09:41AM
(#24907292)
Most of the code people have written in Vue 2 is compatible with Vue 3. Vue 3 has just added some additional features. Sure, there are breaking changes, but not to an alarming degree.
[ Parent
| on HN ]
Re:Vanilla-todo: A case study on viable techniques for vanil...
by hatch_q on Tuesday October 27, 2020 @01:24PM
(#24909610)
I tried to upgrade a substantial codebase from vue 2 to 3 and hit a brick wall with Vuex early on.
Re:Vanilla-todo: A case study on viable techniques for vanil...
by onion2k on Tuesday October 27, 2020 @11:04AM
(#24908092)
Most of the code people have written in Vue 2 is compatible with Vue 3.
All of the code written with React 15 is compatible with React 16. And React 17. And React 18. And so on probably.
Re:Vanilla-todo: A case study on viable techniques for vanil...
by nicoburns on Tuesday October 27, 2020 @11:08AM
(#24908133)
Actually React 18 is likely to have breaking changes due to Suspense. Specifically the deprecated methods that are currently prefixed with UNSAFE_ will likely be removed.
Re:Vanilla-todo: A case study on viable techniques for vanil...
by hatch_q on Tuesday October 27, 2020 @01:20PM
(#24909558)
This is simply not true. React 15 is not compatible with React 16 and it can even take substantial effort to upgrade if you used componentWillReceiveProps (though which in hindsight could be avoided in the first place)
Re:Vanilla-todo: A case study on viable techniques for vanil...
by hajile on Tuesday October 27, 2020 @06:07PM
(#24912546)
I did that migration on a very large react project (hundreds of thousands of lines). As I recall, after dealing with warnings for the later 15.x releases, the upgrade was seamless. They're also good about creating codemods to make the transition easier -- something somewhat rare in the world of software libraries.
Re:Vanilla-todo: A case study on viable techniques for vanil...
by hackerfromthefu on Tuesday October 27, 2020 @01:12PM
(#24909464)
But not all of your packages!