Meituan-Dianping / Meituan-Dianping/beeshell
SlideModal和redux结合使用错误
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 285
- PR merge metrics
- No merged PRs in 30d
Description
用slider包裹自定义view,自定义view使用redux 的connect会有以下错误
ExceptionsManager.js:126 Unhandled JS Exception: Invariant Violation: Could not find "store" in the context of "Connect(XXXXX)". Either wrap the root component in a , or pass a custom React context provider to and the corresponding React context consumer to Connect(XXXXX) in connect options.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by reproducing the error with a Slider-wrapped custom view that uses Redux connect, then inspect the Provider and React context boundary. Done means the connected view renders without the missing "store" invariant error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100