drcmda / drcmda/react-contextual
External Stores stop being external as soon as you provide them
Open
- Dominant language
- JavaScript
- Stars
- 638
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
It looks like the actions in a store get bound to the Provider when it renders. This means if you unmount a provider and later provide the same store, the actions will throw an error.
I mocked up what was happening in my project here:
https://jp46nlpk8y.codesandbox.io/
https://codesandbox.io/s/jp46nlpk8y?view=preview
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.