Skip to content

not re-render on change in react-native #3266

Answered by kubk
temharay asked this question in Q&A
Discussion options

You must be logged in to vote

Are you using Mobx 6? The recommended way to use Mobx is makeObservable/makeAutoObservable. If you'd like to use decorators you should enable them: https://mobx.js.org/enabling-decorators.html
If you switch to functional components the HOC withStore is no longer needed. So the tutorial is a bit outdated.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by temharay
Comment options

You must be logged in to vote
0 replies
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