|
|
|
Ask HN: How do you maintain JavaScript web apps?
|
|
4 points
by rjhackin
1366 days ago
|
|
Lets say I have a large code base built using React and other needed libraries. I have different repositories based on the functional breakdown. Each repo has its own package.json. With the way dependent packages release newer versions, its really hard to maintain dependent packages in turn resulting in audit issues and adding newer functionalities. Also, updating newer versions of React becomes a pain. So how do you all maintain javascript webapps? Any best practices or pointers to follow. |
|
Updating dependencies is harder with a monorepo but for that I've tried to have as many unit and e2e tests as possible to try and make it a case of bump the version and assume no test failures means it worked (of course I do manual testing but if the tests worked it's likely that any problems will be small).