A Plugin is a specific code transformation that can be included during compilation
link - babeljs.io/docs/en/plugins
This lets you use class properties to write elegant React components ?
Previously called 'plugin-transform-class-properties' in Babel version 6.
Class properties were introduced in ES 2016
npm install --save-dev @babel/plugin-proposal-class-properties
This replaces any ES 2015 arrow functions with their function equivalents
npm install --save-dev @babel/plugin-transform-arrow-functions
This lets you
npm install --save-dev @babel/plugin-transform-classes
© 2021 Better Solutions Limited. All Rights Reserved. © 2021 Better Solutions Limited TopPrevNext