Answer the question
In order to leave comments, you need to log in
How can I simply pass the Ref of the parent to the child in React?
React first draws the component that is inside - MiniMap
And then the parent and therefore the passed Ref will not be available in the DidMount method in the child component.
How can I normally get the Ref of a parent in a child component?
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