Skip to content

Why exactly do we need @babel/plugin-proposal-class-properties? #3470

Answered by kubk
amberv0 asked this question in General
Discussion options

You must be logged in to vote

Hey, we provided a few examples here: #3216

Maybe we'll need to add this information to the documentation. There is also a JS one line script to check if your transpiler configured correctly, please check it: https://mobx.js.org/installation.html#use-spec-compliant-transpilation-for-class-properties

If it throws, your compiler needs tweaks described in the documentation.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@amberv0
Comment options

@amberv0
Comment options

@urugator
Comment options

Answer selected by amberv0
Comment options

You must be logged in to vote
1 reply
@amberv0
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants