Lifting State
Has two components, and the states are lifted to the parent in the third component
This case is not using custom hook
Component Counter with a Button
Component Counter with a Text
Count: 0
Has two components, and the states are lifted to the parent in the third component
This case is not using custom hook
Component Counter with a Button
Component Counter with a Text
Count: 0