Skip to content

Mobx App.tsx observation with Vite does not work #3861

Answered by mweststrate
IlyaLisov asked this question in Q&A
Discussion options

You must be logged in to vote

I don't see an observer around your components. Does it make a difference if the makeAutoObservable is moved to the end of the constructor? If so, class compilation flags deviate to be non-standard (probably can be worked around by initializing fields at the declaration).

Replies: 1 comment 2 replies

Comment options

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

@mweststrate
Comment options

Answer selected by IlyaLisov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants