Attempted import error: 'decorate' is not exported from 'mobx'. getting this error
You tried enabling decorators?
mobx.js.org/enabling-decorators.html
Yes after that I switched to makeObserver
If you use decorators, then you don't use makeObserver.
The repo is at bitbucket.org/hauyeung/react-calen...
yes yes , it seems they stopped with decorator i guess anyways thanks for the repository it works now :)
No problem
so i changed decorate to makeObservable , but now i am getting this error
Error: [MobX] Cannot decorate undefined property: 'calendarEvents'
Did you follow this guide?
mobx.js.org/observable-state.html
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Attempted import error: 'decorate' is not exported from 'mobx'.
getting this error
You tried enabling decorators?
mobx.js.org/enabling-decorators.html
Yes after that I switched to makeObserver
If you use decorators, then you don't use makeObserver.
The repo is at bitbucket.org/hauyeung/react-calen...
yes yes , it seems they stopped with decorator i guess
anyways thanks for the repository it works now :)
No problem
so i changed decorate to makeObservable , but now i am getting this error
Error: [MobX] Cannot decorate undefined property: 'calendarEvents'
Did you follow this guide?
mobx.js.org/observable-state.html