Reusable Components
  • References/JavaScript/React/Guides

When designing interfaces, break down the common design elements (buttons, form fields, layout components, etc.) into reusable components with well-defined interfaces. That

2025-01-10 15:47:30
Performance Tools
  • References/JavaScript/React/Guides

React is usually quite fast out of the box. However, in situations where you need to squeeze every ounce of performance out of your app, it provides a shouldComponentUpdate

2025-01-10 15:47:30
Transferring Props
  • References/JavaScript/React/Guides

It's a common pattern in React to wrap a component in an abstraction. The outer component exposes a simple property to do something that might have more complex implementation

2025-01-10 15:47:30
Shallow Compare
  • References/JavaScript/React/Guides

shallowCompare is a helper function to achieve the same functionality as PureRenderMixin while using ES6 classes with React. If

2025-01-10 15:47:30
Advanced Performance
  • References/JavaScript/React/Guides

One of the first questions people ask when considering React for a project is whether their application will be as fast and responsive as an equivalent non-React version. The

2025-01-10 15:47:30
Test Utilities
  • References/JavaScript/React/Guides

ReactTestUtils makes it easy to test React components in the testing framework of your choice (we use

2025-01-10 15:47:30
Add-ons
  • References/JavaScript/React/Guides

The React add-ons are a collection of useful utility modules for building React apps. These should be considered experimental and tend to change more often

2025-01-10 15:47:30
Tooling Integration
  • References/JavaScript/React/Guides

We've tried to make React as environment-agnostic as possible. People use React in a variety of languages (JavaScript, TypeScript, ClojureScript, etc) and in a variety of environments

2025-01-10 15:47:30
Thinking in React
  • References/JavaScript/React/Guides

by Pete Hunt React is, in my opinion, the premier way to build big, fast Web apps with JavaScript. It has scaled very well for us at Facebook

2025-01-10 15:47:30
Working With the Browser
  • References/JavaScript/React/Guides

React provides powerful abstractions that free you from touching the DOM directly in most cases, but sometimes you simply need to access the underlying API, perhaps to work

2025-01-10 15:47:30