react component - parent child interaction; component Lifecycle
问题 I am developing a simple browser app to get some specific data from the user. I have several components to simplify the proccess of collecting that data, but I am currently rethinking my way of rendering this component. Basically, i have my main component, which uses state to keep track of which component to render. I am doing this for almost all of my components. Also, i also have a function inside the parent component, that i pass to the child component via props, and that is used as a