how to use the Babel's plugin: "transform class properties" and it's very cool.
But my question is, how often it is used in projects? should i use it or keep doing the thing in "normal" js?
It's not gotta hurt you not using it but it makes property declarations (state, proptypes, defaultprops, no need to bind on constructor, or even using constructor in much cases) a lot easier. Go for it
Обсуждают сегодня