React.Children provides utilities for dealing with the this.props.children opaque data structure.
React.DOM provides convenience wrappers around React.createElement for DOM components.
React.DOM provides convenience wrappers around React.createElement for DOM components. These should only be used when not using JSX. For example, React.DOM.div(null, 'Hello World!')
Create a component given a specification.
Create a component given a specification. A component implements a render method which returns one single child. That child may have an arbitrarily deep child structure. One thing that makes components different than standard prototypal classes is that you don't need to call new on them. They are convenience wrappers that construct backing instances (via new) for you.
Configure React's event system to handle touch events on mobile devices.
Verifies the object is a ReactElement.
Similar to renderToString, except this doesn't create extra DOM attributes such as data-react-id, that React uses internally.
Similar to renderToString, except this doesn't create extra DOM attributes such as data-react-id, that React uses internally. This is useful if you want to use React as a simple static page generator, as stripping away the extra attributes can save lots of bytes.
Render a ReactElement to its initial HTML.
Render a ReactElement to its initial HTML. This should only be used on the server. React will return an HTML string. You can use this method to generate HTML on the server and send the markup down on the initial request for faster page loads and to allow search engines to crawl your pages for SEO purposes.
If you call React.render() on a node that already has this server-rendered markup, React will preserve it and only attach event handlers, allowing you to have a very performant first-load experience.
Remove a mounted React component from the DOM and clean up its event handlers and state.
Remove a mounted React component from the DOM and clean up its event handlers and state. If no component was mounted in the container, calling this function does nothing. Returns true if a component was unmounted and false if there was no component to unmount.
(Since version React 0.12.0) React.renderComponent will be deprecated in a future version. Use React.render instead.
(Since version React 0.12.0) React.renderComponent will be deprecated in a future version. Use React.render instead.
(Since version React 0.12.0) React.renderComponent will be deprecated in a future version. Use React.render instead.
(Since version React 0.12.0) React.renderComponent will be deprecated in a future version. Use React.render instead.
(Since version React 0.12.0) React.renderComponentToStaticMarkup will be deprecated in a future version. Use React.renderToStaticMarkup instead.
(Since version React 0.12.0) React.renderComponentToString will be deprecated in a future version. Use React.renderToString instead.
(Since version 0.5.0) Considered abuse in typed JavaScript, will be removed in 0.6. Use js.Dynamic or js.prim.Boolean instead.