Cobwwweb logo

WTF is React?

Jun 29, 2020 JavaScript, React, WTF

React is a framework for building user interfaces with JavaScript. It is essentially a library that renders components, although they aren't traditional web components.

React uses a language called JSX (for JavaScript + XML), which enables developers to include all their front-end code (including HTML and CSS) inside React components.

One of the cool things about React is it focuses entirely on the component rendering process. I love that because it somewhat follows the single-responsibility principle. It renders components to the screen within a web application, but it doesn't worry about routing, state management, or other tooling often necessary to build out an entire front-end application.

The tradeoff is that it can be somewhat complex and overwhelming to put together a React app from scratch. But, fortunately, there are plenty of ways to get started without beginning at the ground floor. To keep digging into React, check out the list of references below:

References

Did you learn something or find this article interesting?

If so, why not

Want to receive exactly one email every month with new articles, tools, and references I've discovered? Sign up below. (More info here.)