News for hackers. Stuff that matters.
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

There are no comments on this comment yet.