I understood React lifting-state-up "https://reactjs.org/docs/lifting-state-up.html". By this method a developer needs to pass the state functions in parents as props to child. After which I did a couple of session on redux. But, I am unable to understand the main differences in lifting state up vs Redux, flux state management in simple comparisons.
- Does it mean inside a big web applications "lifting state up" should not be used and redux/flux becomes inevitable
- Redux simplifies the whole process of state management, but is there any advantage other than abstraction and simplification.
- By using Redux we will have a single source of truth as compared to "Lifting state up" where we need to keep state in multiple components and thus adding complexity to overall code. In lifting-state-up you can have a single source of truth the only shortcoming of that approach would be your parent component would be cluttered with many states.
- Is there a performance angle between redux and lifting state up
- If React is said to be a view library should it had given a state management option in the first place?