1×
Become a member
to unlock all features
Autoplay

    Angular 1.x Redux: Persist State with an Application Store

    angularjsAngularJS

    In this lesson, we are going to learn how to build an application store so that we can have a single place to store our application state. Reducers are great for updating state because they are stateless, but they are very bad at preserving state, which is vital when you need to reference state in more than one place.

    We will build out a simple application store that will be responsible for keeping track of our categories collection that our categories controller can consume.