You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1.4 KiB

id title permalink prev next
addons Add-ons addons.html tooling-integration.html animation.html

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 than the core.

  • TransitionGroup and CSSTransitionGroup, for dealing with animations and transitions that are usually not simple to implement, such as before a component's removal.
  • LinkedStateMixin, to simplify the coordination between user's form input data and the component's state.
  • cloneWithProps, to make shallow copies of React components and change their props.
  • createFragment, to create a set of externally-keyed children.
  • update, a helper function that makes dealing with immutable data in JavaScript easier.
  • PureRenderMixin, a performance booster under certain situations.

The add-ons below are in the development (unminified) version of React only:

  • TestUtils, simple helpers for writing test cases (unminified build only).
  • Perf, for measuring performance and giving you hint where to optimize.

To get the add-ons, install them individually from npm (e.g., npm install react-addons-pure-render-mixin). We don't support using the addons if you're not using npm.