3 ms·
I use and recommend this syntax, but you do have to have babel-preset-stage-2 to enable the class properties transform. https://babeljs.io/docs/plugins/transfo
by amk_ 10y ago
I use and recommend this syntax, but you do have to have babel-preset-stage-2 to enable the class properties transform.
https://babeljs.io/docs/plugins/transform-class-properties/ https://babeljs.io/docs/plugins/transform-class-properties/