Javascript – Passing state up with this particular example
I am trying to lift state up. I have four different components Parent, Child1, Child2 and Child3. The parent component has a default value of 'Hi'. The default value gets updated to 'Hi2' in Child3 component. I want Child1 component…