what is the difference between these 2 babel plugins?
@babel/plugin-proposal-class-properties
babel-plugin-transform-class-properties.
Which one should I use?
I think you should use @babel/plugin-proposal-class-properties
because it is following current naming convention.
Renames: -proposal-
Any proposals will be named with -proposal- now to signify that they aren't officially in JavaScript yet.
So @babel/plugin-transform-class-properties becomes @babel/plugin-proposal-class-properties, and we would name it back once it gets into Stage 4.
from We’re nearing the 7.0 Babel release. Here’s all the cool stuff we’ve been doing.