Meituan-Dianping / Meituan-Dianping/beeshell

SlideModal和redux结合使用错误

Open
#74 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.