Libraries like React abstract away DOM APIs so that you rarely ever have to deal with them. And while that’s mostly a good thing, knowing how the DOM APIs work can have some real benefits—for example when you need to write code that works on any app regardless of framework.
On this episode of React Wednesdays, TJ VanToll gave a hands-on demo of the most popular DOM APIs and showed how to select DOM nodes, move DOM nodes, attach event listeners, and more.