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
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
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
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
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
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
JSX Spread Attributes
  • References/JavaScript/React/Guides

If you know all the properties that you want to place on a component ahead of time, it is easy to use JSX:

2025-01-10 15:47:30
Two-Way Binding Helpers
  • References/JavaScript/React/Guides

ReactLink is an easy way to express two-way binding with React. ReactLink is deprecated as of React v15. The recommendation

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

We'll be building a simple but realistic comments box that you can drop into a blog, a basic version of the realtime comments offered by Disqus, LiveFyre or Facebook comments

2025-01-10 15:47:30