How to pass child's state back to the container? I have a very simple app but because I split them into smaller component now I'm stuck passing state value (Form) back to its container. I can also call the api in child's component then recieve it via props container but that's not clean, I want the 'final event' be placed in the container, and the container has the 'main' state.
Is my first intention (make sure 'main' state is store in the container) correct? If yes how to pass back the state from child component back to the container? Assume I'm not using redux.