any UI application have 2 layer
1. UI Layer or Presentation(Data Layer controls UI layer)
2. Data Layer (all the Dynamic Data is in Data Layer)
Why do we need State?
1. Because of it’s dynamic Behaviour we need State. i.e all the interactivity are managed by state.
We will Learn
1. Local State (component): any dynamic data in your component
2. Props Drilling (Passing Data b/w components)
3. if two data need to share between two siblings then we need to Lift the state up to parent from sibling state.
3. State Management Lib :- it is easy to debug, (control store)