Answer the question
In order to leave comments, you need to log in
How to allow a component to be mounted only as a child of another?
Good afternoon, how can I make sure that my component is mounted deeper in the tree than the specified one?
So far I've only met a hack - use the context and check it.
Are there other ways how this is usually implemented?
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