News for hackers. Stuff that matters.
Re:Just what does “code as data” mean anyway? (2014) by TheAceOfHearts on Friday February 16, 2018 @10:59AM (#16393229)
Check out react-codemod [0] for practical React / JavaScript examples. To give an example with explanation, in the v15.5.0 release they deprecated React.createClass [1] in favor of regular ES2015 classes, with a fallback to a module.

[0] https://github.com/reactjs/react-codemod

[1] https://reactjs.org/blog/2017/04/07/react-v15.5.0.html#migra...

There are no comments on this comment yet.