Redux: Persisting the State to the Local Storage
lessonDuration 7m 36s
We will learn how to use store.subscribe() to efficiently persist some of the app’s state to localStorage and restore it after a refresh.
Browse
Find courses, lessons, articles, talks, and podcasts.
59 resources
Showing 49–59 · Page 3 of 3
lessonDuration 7m 36s
We will learn how to use store.subscribe() to efficiently persist some of the app’s state to localStorage and restore it after a refresh.
lessonDuration 2m 38s
We will learn how to change the address bar using a <Link> component from React Router.
lessonDuration 6m 23s
We will learn how to remove the duplication in our reducer files and how to keep the knowledge about the state shape colocated with the newly extracted reducers.
lessonDuration 6m 58s
We will learn how to dispatch a Redux action after the data has been fetched and recap how to do it when the route changes.
lessonDuration 1m 32s
We will learn about fake backend module that we will be using throughout the next lessons to simulate data fetching.
lessonDuration 4m 52s
We will learn how to encapsulate the knowledge about the state shape in the reducer files, so that the components don’t have to rely on it.
lessonDuration 4m 31s
We will learn how centralized updates in Redux let us log every state change to the console along with the action that caused it.
lessonDuration 2m 57s
We will learn how to replace the middleware we wrote and the custom code we used to glue it together with the existing core and third party utilities.
lessonDuration 4m 43s
We will learn how Redux Thunk middleware lets us conditionally dispatch actions to avoid unnecessary network requests and potential race conditions.
lessonDuration 5m 59s
We will learn how to display the loading indicators while the data is being fetched.
lessonDuration 6m 29s
We will learn how to teach dispatch() to recognize Promises so that we can move the async logic out of the components into asynchronous action creators.