mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 12:13:11 +00:00
1.1 KiB
1.1 KiB
id, title, layout, permalink, prev, next
| id | title | layout | permalink | prev | next |
|---|---|---|---|---|---|
| addons | Add-ons | docs | addons.html | tooling-integration.html | animation.html |
React.addons is where we park some useful utilities for building React apps. These should be considered experimental but will eventually be rolled into core or a blessed utilities library:
ReactTransitions, for dealing with animations and transitions that are usually not simple to implement, such as before a component's removal.ReactLink, to simplify the coordination between user's form input data and and the component's state.classSet(), for manipulating the DOMclassstring a bit more cleanly.ReactTestUtils, simple helpers for writing test cases (unminified build only).cloneWithProps(), to make shallow copies of React components and change their props.update(), a helper function that makes dealing with immutable data in JavaScript easier.
To get the add-ons, use react-with-addons.js (and its minified counterpart) rather than the common react.js.