
React – A JavaScript library for building user interfaces
React makes it painless to create interactive UIs. Design simple views for each state in your application, and React will efficiently update and render just the right components when your …
Lists and Keys - React
If you choose not to assign an explicit key to list items then React will default to using indexes as keys. Here is an in-depth explanation about why keys are necessary if you’re interested in …
Introducing Hooks – React
The distinction between function and class components in React and when to use each one leads to disagreements even between experienced React developers. Additionally, React has been …
Virtual DOM and Internals – React
In React world, the term “virtual DOM” is usually associated with React elements since they are the objects representing the user interface. React, however, also uses internal objects called …
Versions - React
React Versions A complete release history for React is available on GitHub. Changelogs for recent releases can also be found below. Note The current docs are for React 18. For React …
CDN Links – React
CDN Links These docs are old and won’t be updated. Go to react.dev for the new React docs. See Add React to an Existing Project for the recommended ways to add React. Both React …
Introducing JSX – React
React doesn’t require using JSX, but most people find it helpful as a visual aid when working with UI inside the JavaScript code. It also allows React to show more useful error and warning …
Error Boundaries – React
To solve this problem for React users, React 16 introduces a new concept of an “error boundary”. Error boundaries are React components that catch JavaScript errors anywhere in their child …
State and Lifecycle – React
In React apps, whether a component is stateful or stateless is considered an implementation detail of the component that may change over time. You can use stateless components inside …
Context – React
A React component that subscribes to context changes. Using this component lets you subscribe to a context within a function component. Requires a function as a child. The function receives …