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.
Video Lessons
Parts of courses on specific topics
Accordion Component
You know those HTML components that show you some headers and let you expand the content underneath? Yeah! Let’s build one!
Add cocoa
Let’s add a new ingredient, namely cocoa.
Adding a flash message
We need to give feedback to the user when the user clicks a button. We add a message box that disappears after a time.
Adding all recipes
Now that we can bake recipes, let’s add the other recipes, cookies and brownies.
Adding Copy buttons to the editor
We add buttons to copy the text to the clipboard. We find code written in JavaScript and convert it to ClojureScript.