Answer the question
In order to leave comments, you need to log in
I have a component, it is large, I break it into subcomponents, is it right to pass this to them in order to change the state of the parent?
I have a component, it is large, I break it into subcomponents, is it right to pass this to them in order to change the state of the parent, or is it better to create handlers?
Why is one better than the other and what is the best way to do it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question