You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 31, 2020. It is now read-only.
Hooks can only be called inside the body of a function component.
There is already an issue for this (#591) but it was closed as the author wants to wait for a version of mobx-react that uses hooks itself.
Although I am also looking forward to that my intention is to try out hooks in my projects and start using them, even if mobx-react itself can not yet be switched.
This is not possible as observer causes the above error.