Quick question about package managers. Does it make sense to use more than a few packages and always be keeping them up to date? Why not just add a package to your site and leave it? Wouldn’t updating multiple packages to a new version increase your risk of issues / bugs with each deployment?
There's always potential security issues and bugs in the versions you're already using, which means it's good for you to update. Furthermore, there's going to be new features that, if not you yourself, other packages you are or will be using might want to use. For example, if you're still on React 0.13, you won't be able to introduce react-redux to your project without also upgrading React, which makes the cost of introducing that a lot larger.
Sure, but do you need to always be current? Wouldn’t be better to update all your packages once per year. Then do a build with no other changes, QA that release and deploy? Seems like that would be much less risk, and a lot easier then always updating.
Management does not know what client side framework is used. Newer isn’t always better. Some new SPA applications remind of Flash applications back in the day.
Lol. Please, I reached the top already, I am already at architect level and I make bank. Of course I keep learning. I switched from TFS to GIT and switched to TypeScript. But when you are a full stack coder and client side is only 20% of your work, you have to reduce complexity and keep it simple. Can’t jump on every hot new framework when your application has to last forever. Do you know how many front end frameworks have come and gone since I started coding...
18
u/thilehoffer Mar 26 '18
Quick question about package managers. Does it make sense to use more than a few packages and always be keeping them up to date? Why not just add a package to your site and leave it? Wouldn’t updating multiple packages to a new version increase your risk of issues / bugs with each deployment?