-
Notifications
You must be signed in to change notification settings - Fork 865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PersistGate Type error #731
Comments
The loading prop takes either null or a component. |
Thanks @thenewt15, but already changed that, the error persist. Write a component or null don' t fix this issue. |
Also note that the Uncaught TypeError expect a subscribe function, as the ".subscribe(listener)" that redux Store have. https://redux.js.org/api-reference/store |
@diegolaciar it looks like you are using redux-persist v4, but somehow also getting PersistGate which is only available in (and compatible with) v5. You can read about the upgrade here: https://github.com/rt2zz/redux-persist/blob/master/docs/MigrationGuide-v5.md However please note there is no top level immutable support in v5. If you need top level immutable you will need to stick to v4 and not use PersistGate |
I am experiencing the same issue as @diegolaciar. |
Do you have a plan to support immutable in V5? Thanks to your awesome work : ) @rt2zz |
I'm also experiencing this issue and am using |
I am also experiencing the same issue with redux-persist@5.10.0 |
idem redux-persist@5.10.0 |
same - redux-persist@5.10.0 |
+1 redux-persist@5.10.0 |
same issue 5.10 |
same issue redux-persist@5.10.0 |
I solved the same problem this way: in store.js instead of
use :
|
Hi,
I'm using redux with immutable and redux-persist.
Works good and auto hydrate from the storage to redux store is working. But, when I try to include PersistGate I get this error.
This is the persistor I set : {rehydrate: ƒ, pause: ƒ, resume: ƒ, purge: ƒ}
Looks the interface is the same as in the documentation.
The error:
I tried to use PersistGate to solve this issue #732 and i got this error
Thanks,
The text was updated successfully, but these errors were encountered: