Parts of courses on specific topics
Sometimes you have a string filled with HTML and you want that HTML to show up in a component. This is sometimes unsafe (if the HTML was written by a user) but sometimes it’s not (if you controlled the HTML generation). Don’t do it if it’s unsafe, but in this lesson, we look at how to embed that HTML directly in the component.
We build a table. You can “expand” rows to reveal more detail about each of the visible rows.
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.
We make a list of things that is so long, we need to have a text box at the top that lets us filter it. We experiment with different filtering techniques.
Forms are very important in web applications. They allow you to collect information from the user. We go over some of the best practices for building forms.