Redux: Updating Data on the Server
lessonDuration 5m 24s
We will learn how to wait until the item is updated on the server, and then update the corresponding local state.
Browse
Find courses, lessons, articles, talks, and podcasts.
7,176 resources
Showing 4,825–4,848 · Page 202 of 299
lessonDuration 5m 24s
We will learn how to wait until the item is updated on the server, and then update the corresponding local state.
lessonDuration 5m 36s
We will learn how to wait until the item is created on the server, and update the corresponding local state.
lessonDuration 10m 59s
We will learn how to handle an error inside an async action, display its message in the user interface, and offer user an opportunity to retry the action.
lessonDuration 4m 9s
We will learn how adding React Router shifts the balance of responsibilities, and how the components can use both at the same time.
lessonDuration 9m 33s
We will learn how moving the source of truth for the data to the server changes the state shape and the reducers in our app.
lessonDuration 6m 46s
We will learn how to normalize the state shape to ensure data consistency that is important in real-world applications.
lessonDuration 3m 46s
We will learn how to fire up an async request when the route changes.
lessonDuration 7m 58s
We will learn how to use normalizr to convert all API responses to a normalized format so that we can simplify the reducers.
lessonDuration 2m 25s
We will learn how to better separate the code in the entry point to prepare it for adding the router.
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.
lessonDuration 2m 50s
We get a clearer definition of what it means to fold a type, then we look at the foldMap function
lessonDuration 4m 42s
Working our way backwards from solution to problem, we define an applicative functor, then use it to apply a function of multiple arguments.
lessonDuration 2m 58s
We examine the data structure Task, see some constructors, familiar methods, and finally how it captures side effects through laziness.
lessonDuration 4m 44s
We refactor 3 functions, taking line by line imperative code to a single composed expression using Box container type.