Using RxJS to Manage State in React | Angular to React for Ionic Developers #3
In this video, we look at one example of how we can replace Angular services in a React application. Specifically, we create a simple data store using RxJS that allows us to easily share state throughout the application.
Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076
Article by Ebenezer Don: https://blog.logrocket.com/rxjs-with-react-hooks-for-state-management/
Learn RxJS: https://www.learnrxjs.io/
Learn RxJS with Factorio: https://www.youtube.com/watch?v=zOPKTPo0xno
Subjects and Hot/Cold Observables: https://www.youtube.com/watch?v=H542ZSyubrE
Why is Immutability so Important in JavaScript?: https://www.geeksforgeeks.org/why-is-immutability-so-important-in-javascript/
How Immutable Data Can Make Your Ionic Apps Faster: https://eliteionic.com/tutorials/how-immutable-data-can-make-your-ionic-apps-faster/
0:00 Services in Angular vs React
3:45 What we are building
4:18 Creating an Items Store
8:01 Retrieving Data
11:14 Adding Data
14:11 Using the Store
17:39 Conclusion
#angular #react #rxjs
- More tutorials: https://eliteionic.com/
- Follow me on Twitter: https://twitter.com/joshuamorony