This time we create a component that wraps an externally managed component. Specifically, we embed a CodeMirror editor right into the React-managed DOM, even though CodeMirror has no knowledge of React and manages its own DOM elements.
Parts of courses on specific topics
We can now write a function that will just take the ingredient as an argument and decide where to go to fetch it.
We learn a new conditional and how we can begin fetching an entire shopping list with as few trips as possible.
We need to go fetch ingredients from different locations. Let’s write a function that will go to the right location and fetch an ingredient and bring it back to the prep area.
Everything in Clojure is based on Java Objects. That means it all boils down to methods and fields on objects and classes. When you’re interfacing with a Java library, including the standard library, you will need to access methods and fields all the time. This lesson covers the normal and most common ways of calling methods and accessing/changing the state of objects.
In this lesson we look at `java.io.File` and how the `clojure.java.io` namespace makes it easy to use.