How to Get a React Component’s Element

JSX is an amazing pseudo-language for React, and if I’m honest, it’s what brought me to love React so much.  Using React without JSX is cumbersome and frustrating, while using JSX is such an easier way to express your code.  One drawback of JSX, however, is that it makes accessing component elements indirect, if not […]
The post How to Get a React Component’s Element appeared first on David Walsh Blog.

Link: https://davidwalsh.name/get-react-component-element