A Plugin is a specific code transformation that can be included during compilation
link -

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 


@babel/plugin-syntax-typescript (isTSX)

© 2022 Better Solutions Limited. All Rights Reserved. © 2022 Better Solutions Limited TopPrevNext