From the course: Build Modern Web Apps with React, Hooks, State Management, and APIs Using Vite or Next.js

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Summary

Summary

Welcome back. In this video, we are going to summarize what we have learned so far. So lifting up the state is a scenario that can come across a lot of areas. Even inside the real world applications, for a smaller piece of chunk, we might be needing some separate piece of state where we can easily utilize the lifting up the state values. Even if we are having the advanced state management libraries in place, we will be using these two advanced scenarios where the state is going to be a single source of truth inside our Redux or ZooStand-based libraries, but we will be moving the state up and down on the basis of the requirement using lifting the state advanced scenarios. So lifting the state up keeps the siblings in sync. It prevents duplication and inconsistent states. So we always have the correct data. It works well for dependent components and derived states. So these are the two scenarios which we will be using rather than just a dummy lifting up the state. When we want to scale…

Contents