Skip to content

Commit e6400f3

Browse files
mfeniseycopestimdorr
authored andcommitted
Again, make Provider not need to wrap root component (reduxjs#675)
1 parent 133e38c commit e6400f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ This will remove the assumption that `TodoApp` is pure and cause it to update wh
6767
If you have context issues,
6868

6969
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.
70-
2. Make sure you didn’t forget to wrap your root component in [`<Provider>`](#provider-store).
70+
2. Make sure you didn’t forget to wrap your root or some other ancestor component in [`<Provider>`](#provider-store).
7171
3. Make sure you’re running the latest versions of React and React Redux.
7272

7373
### 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

0 commit comments

Comments
 (0)