I’m not entirely sure if this is possible, but this is our situation:
-The Parent component renders 2 children; Form component and List component.
-Parent component has no state.
-The Form component takes user input.
-Form component has no state.
-The List component renders the List.
-List component has the List in state.
We’re wondering if we can pass the value from the Form component into the List component, so that it adds the value to the List state, and rerenders the List component?
(This is our challenge atm. I’ve been saying it’s easier just to put state in the Parent component and pass it down to children…)