Back to Browse

Refactor createClass to ES6 Classes

2.2K views
May 12, 2017
6:45

React 15.5 has deprecated createClass and you'll start getting warnings if your code still uses it. Watch for how to convert old components to the new ES6 syntax. The blog has another full-featured example not covered in the video, goes over how to use "codemods" to automate all this, and you can download all the example code too. 🔗 Blog + automation + example code: https://daveceddia.com/convert-createclass-to-es6-class/ 📗 Pure React book: http://purereact.com

Download

0 formats

No download links available.

Refactor createClass to ES6 Classes | NatokHD