-
There are some really nice things about Redux that I'd love to see how Effector matchesIn Redux, you can persist and later reload the entire state of the application:
Actions (in Redux) can be serialized/sent between different clientsThis can be really useful when designing real-time applications. One client could broadcast an action to all the other clients. Complex side-effect logic with redux-saga or rxjs for reduxRedux has extension libraries that allow for doing things like cancelling async functions to avoid race conditions. How does effector match up on these points? |
Beta Was this translation helpful? Give feedback.
Answered by
YanLobat
Sep 17, 2020
Replies: 1 comment 1 reply
-
More examples to go: https://github.com/zerobias/effector#more-examples |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
zerobias
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.npmjs.com/package/effector-persist
https://github.com/yumauri/effector-storage
or you could link store with LS via watchers like
$someStore.watch((actualValue) => localStorage.setItem('myTestKey', actualValue)
More examples to go: https://github.com/zerobias/effector#more-examples