Perf First: An Introduction to React with Performance in Mind

React was introduced as a novel solution that used a virtual DOM in order to minimize layout thrashing and re-renders. But it only works if you know how to use it! In this beginner's guide to React, we'll focus not only on the basics of the library—components, props, and state—but also on how to write highly complex UI in a way that considers the in-browser performance implications from the get-go.