5 ms·
As if it's so easy to move from one thing to another. Yikes!
by msie 4y ago
As if it's so easy to move from one thing to another. Yikes!
- azemetre 4y agoSome 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-codemod/README.md https://github.com/mui/material-ui/blob/master/packages/mui-... [2] https://en.wikipedia.org/wiki/Abstract_syntax_tree https://en.wikipedia.org/wiki/Abstract_syntax_tree