react v0.10.0 Release Notes
Release Date: 2014-03-21 // about 10 years ago-
React Core
π New Features
- β Added warnings to help migrate towards descriptors
- π Made it possible to server render without React-related markup (
data-reactid
,data-react-checksum
). This DOM will not be mountable by React. Read the docs forReact.renderComponentToStaticMarkup
- β Added support for more attributes:
srcSet
for<img>
to specify images at different pixel ratiostextAnchor
for SVG
π Bug Fixes
- Ensure all void elements donβt insert a closing tag into the markup.
- Ensure
className={false}
behaves consistently - Ensure
this.refs
is defined, even if no refs are specified.
β Addons
- β‘οΈ
update
function to deal with immutable data. Read the docs
react-tools
- β Added an option argument to
transform
function. The only option supported isharmony
, which behaves the same asjsx --harmony
on the command line. This uses the ES6 transforms from jstransform.