I am not a reaction expert. My problem statement is
What is the correct way to handle this problem?
It would be great if I could get some advice. Thanks in advance
P粉4935341052023-09-16 00:18:18
Usually this is done via "raise state" , so one solution is to manage all the state in the main component (including child component state) and in the props and functions that trigger the save Pass status.
This general concept can also be applied to "grouping" state into some meaningful objects in a redux store or reactive context.
Some related questions: