r/javascript • • Mar 26 '18

Modern Frontend Developer in 2018

https://medium.com/tajawal-engineering/modern-frontend-developer-in-2018-4c2072fa2b9c
558 Upvotes

91 comments sorted by

View all comments

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?

11

u/vinnl Mar 26 '18

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.

6

u/thilehoffer Mar 26 '18

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.

0

u/[deleted] Mar 26 '18

[deleted]

5

u/thilehoffer Mar 26 '18

Management does not care what tech we use. They just want it too work.

0

u/[deleted] Mar 26 '18

[deleted]

5

u/thilehoffer Mar 26 '18

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.

0

u/[deleted] Mar 26 '18

[deleted]

3

u/thilehoffer Mar 26 '18

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...