Want this course?
Accessing DOM nodes
Sometimes we need to get a reference to the real DOM node that React normally manages for us. For instance, when we need to play an embedded video, the API requires access to the DOM node of the video element. React gives us a feature called Refs that let us get access to any DOM node it creates.
Code is available: lispcast/understanding-re-frame
Code for this particular lesson is available at the
011 tag .
You can checkout the code in your local repo with this command:
$CMD git clone https://github.com/lispcast/understanding-re-frame.git $CMD cd understanding-re-frame $CMD git checkout -f 011