this post was submitted on 05 Jul 2023
1 points (100.0% liked)

JavaScript

32 readers
1 users here now

Place for discussing all things related to the Javascript. This category can be used to ask for help with specific problems, share tips and tricks for working with js, and discuss new developments and best practices in the world of Javascript programming.

founded 1 year ago
 

Every so often I remember how messy it is to be in the #JavaScript ecosystem. Updating from #React 16 to 17 also requires updating #ESLint which requires updating its plugins (fuck you #AirBnB ), which requires you to update #webpack and it’s loaders/plugins, which requires you update #Babel. This doesn’t even account for any other random libraries you’re using so even then you’ll still end up getting #npm peer dependency errors.

Please tell me there’s a better way…

top 2 comments
sorted by: hot top controversial new old
[–] fusio 1 points 1 year ago

Im very happy with yarn3 and the yarn upgrade-interactive command.

I update all the minor/patches check that everything still works and the update the majors.

[–] [email protected] 1 points 1 year ago

Step one is usually to npm remove react