4 ms·
Redux will be around for a while due to the number of people who already use it, but may not be a first choice at some point. RxJS is kind of equivalent to Pro
by dexwiz 7y ago
Redux will be around for a while due to the number of people who already use it, but may not be a first choice at some point.
RxJS is kind of equivalent to Promises + Utils. You can use it to structure code, but it won’t solve state issues on its own.
I don’t know enough context api to comment on it.
- WolfOliver 7y agoTo me it looks like you can implement a proven MVC architecture using React Hooks and RxJS: https://blog.logrocket.com/rxjs-with-react-hooks-for-state-management/ https://blog.logrocket.com/rxjs-with-react-hooks-for-state-m... So should it be powerfull enought?
- WolfOliver 7y ago... Not exactly an MVC but a separation between view and business using the subscriber pattern.
- dexwiz 7y agoIn that case you are using hooks to manage your state and RxJS to abstract over the concurrent behavior. IIRC you can use a few things to handle concurrency for hooks like promises, Async/await, or callbacks.