Replies: 1 comment 1 reply
-
出现错误建议提 issue,并提供下仓库这些。你这个问题看起来是 React 多实例了 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我用api调用组件,需要用Provider包裹
但是发现组件里拿到的值是默认值而不是最新值?
然后,我想尝试useStore获取到store,然后传给Provider,发现报错
Cannot destructure property 'store' of '(0 , react__WEBPACK_IMPORTED_MODULE_1__.useContext)(...)' as it is null.
请问如何解决?
Beta Was this translation helpful? Give feedback.
All reactions