How to access refs of a child component in the parent component

Posted by Editorial Staff | Updated on

Want to access refs of a child component in the parent component If it cannot be avoided the suggested pattern extracted from the React docs would be:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers