Skip to content

Support for decorators stage 3 proposal with accessor #3373

Closed Answered by mweststrate
WearyMonkey asked this question in General
Discussion options

You must be logged in to vote

MobX 6 deprecated decorators exactly because we want to be able to switch to the standard proposal in the future. I've been involved designing the proposal, and we'll pick it up further once a transpilers are available.

Context: we currently have a very large code base on mobx 5. We would like to upgrade to mobx 6 but consider it a risk due to the required makeObservable, which if missing will cause subtle runtime issues.

Please note that a codemod is available

Replies: 10 comments 14 replies

Comment options

You must be logged in to vote
2 replies
@WearyMonkey
Comment options

@phiresky
Comment options

Answer selected by kubk
Comment options

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

Comment options

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

Comment options

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

@Matchlighter
Comment options

@Matchlighter
Comment options

Comment options

You must be logged in to vote
5 replies
@Matchlighter
Comment options

@belaczek
Comment options

@kubk
Comment options

kubk Mar 20, 2023
Maintainer

@Matchlighter
Comment options

@TechQuery
Comment options

Comment options

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

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

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