Skip to content

Commit c695ff4

Browse files
authored
Improve docs to troubleshoot context errors (#1827)
1 parent 597965e commit c695ff4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/troubleshooting.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ In short,
2525
If you have context issues,
2626

2727
1. [Make sure you don’t have a duplicate instance of React](https://medium.com/@dan_abramov/two-weird-tricks-that-fix-react-7cf9bbdef375) on the page.
28-
2. Make sure you didn’t forget to wrap your root or some other ancestor component in [`<Provider>`](#provider-store).
29-
3. Make sure you’re running the latest versions of React and React Redux.
28+
2. Make sure you don't have multiple instances/copies of React Redux in your project.
29+
3. Make sure you didn’t forget to wrap your root or some other ancestor component in [`<Provider>`](#provider-store).
30+
4. Make sure you’re running the latest versions of React and React Redux.
3031

3132
### Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs. This usually means that you’re trying to add a ref to a component that doesn’t have an owner
3233

0 commit comments

Comments
 (0)