Re:Why is front-end development so unstable? (2018)
by msie on Monday May 30, 2022 @07:46PM
(#31564807)
As if it's so easy to move from one thing to another. Yikes!
Re:Why is front-end development so unstable? (2018)
by azemetre on Tuesday May 31, 2022 @09:17AM
(#31569123)
Some libraries will create code mods to assist in transitions. For example I've used some MUI codemods in the past to make transitions to newer versions of the library more seamless [1].
There are also codemods to say move from underscore to lodash and vice versa (been a while and can't find them at the moment).
ASTs [2] are pretty cool in this regard. Especially if you write your code in a manner that easier to automate against.
[1] https://github.com/mui/material-ui/blob/master/packages/mui-... [2] https://en.wikipedia.org/wiki/Abstract_syntax_tree
Build tools are a bigger issue, but fortunately most front end devs don’t actually need to deal with them all that often.