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 has been archived by the owner on Dec 31, 2020. It is now read-only.
Um, based on error stack it's preact-compat library related issue, so please ask there.
I know there was some rumor, that mobx-preact is no longer needed and mobx-react should used instead, but I don't believe it's true ... mobxjs/mobx-preact#18
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or questions.
lockbot
locked as resolved and limited conversation to collaborators
Jan 14, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I import
useObserver
I'm getting this error:I tried both way ...
import { useObserver } from "mobx-react-lite";
or
import { useObserver } from "mobx-react";
Full example here:
https://codesandbox.io/s/example-preact-mobx-state-tree-with-hooks-yk7o2
The text was updated successfully, but these errors were encountered: