scheduler
Advanced tools
Changelog
0.11.1 (July 24, 2014)
setState
can be called inside componentWillMount
in non-DOM environmentsSyntheticMouseEvent.getEventModifierState
correctly renamed to getModifierState
getModifierState
correctly returns a boolean
getModifierState
is now correctly case sensitiveinnerHTML
workaround is now removed, fixing rerendering in certain casesChangelog
0.11.0 (July 17, 2014)
getDefaultProps()
is now called once per class and shared across all instancesMyComponent()
now returns a descriptor, not an instanceReact.isValidComponent
and React.PropTypes.component
validate descriptors, not component instancespropType
validators should return an Error
instead of logging directlynull
e.key
and e.getModifierState()
propertiesonBeforeInput
eventReact.Children.count
has been added as a helper for counting the number of childrene.view
properly normalizedcoords
, crossOrigin
, download
, hrefLang
, mediaGroup
, muted
, scrolling
, shape
, srcSet
, start
, useMap
)className
on a mounted SVG component now works correctlymask
and tspan
dx
, dy
, fillOpacity
, fontFamily
, fontSize
, markerEnd
, markerMid
, markerStart
, opacity
, patternContentUnits
, patternUnits
, preserveAspectRatio
, strokeDasharray
, strokeOpacity
Webkit
, ms
, Moz
, O
) are now handled properlyimg
event listeners are now unbound properly, preventing the error "Two valid but unequal nodes with the same data-reactid
"$apply
command to transform valuesdist/
.envify
is properly listed as a dependency instead of a peer dependency<Components.Checkbox />
harmony
features available in the command line with <script type="text/jsx;harmony=true">
--harmony
option--source-map-inline
option to the jsx
executabletransformWithDetails
API which gives access to the raw sourcemap dataChangelog
0.10.0 (March 21, 2014)
data-reactid
, data-react-checksum
). This DOM will not be mountable by React. Read the docs for React.renderComponentToStaticMarkup
srcSet
for <img>
to specify images at different pixel ratiostextAnchor
for SVGclassName={false}
behaves consistentlythis.refs
is defined, even if no refs are specified.update
function to deal with immutable data. Read the docstransform
function. The only option supported is harmony
, which behaves the same as jsx --harmony
on the command line. This uses the ES6 transforms from jstransform.