Closed hongrunhui closed 4 years ago
Please, setup repo with reproduction, hard to say like this.
You will need to update Mobx most probably
On Sat, 27 Jun 2020, 07:56 Daniel K., notifications@github.com wrote:
Please, setup repo with reproduction, hard to say like this.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mobxjs/mobx-react/issues/880#issuecomment-650509714, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN4NBDBS547COBXRQPKGEDRYWJYXANCNFSM4OJ4DLZQ .
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi, I have a question: I imported mobx-react in my project, but error like this:
I searched to solve this problem and found the code in mobxreact.esm.js
import { Reaction, _allowStateChanges, _allowStateReadsStart, _allowStateReadsEnd, $mobx, createAtom, untracked, isObservableMap, isObservableObject, isObservableArray, observable } from 'mobx';
but the file whitch built from webpack like this:
So I got the error
my webpack config:
my tsconfig.json: