Changelog
0.12.2 (December 18, 2014)
formAction
, formEncType
, formMethod
, formTarget
, marginHeight
, marginWidth
strokeOpacity
to the list of unitless CSS propertiesundefined
to React.createElement
- now there is a useful warningdisplayName
Changelog
0.12.1 (November 18, 2014)
Changelog
0.12.0 (October 28, 2014)
key
and ref
moved off props object, now accessible on the element directlyReact.__internals
is removed - it was exposed for DevTools which no longer needs accessReact.createFactory
first. This is handled for you when using JSX.{...}
) introduced to deprecate this.transferPropsTo
acceptCharset
, classID
, manifest
React.renderComponent
--> React.render
React.renderComponentToString
--> React.renderToString
React.renderComponentToStaticMarkup
--> React.renderToStaticMarkup
React.isValidComponent
--> React.isValidElement
React.PropTypes.component
--> React.PropTypes.element
React.PropTypes.renderable
--> React.PropTypes.node
React.isValidClass
instance.transferPropsTo
false
from event handlers to preventDefaultReact.createFactory
key={null}
to assign implicit keysevent.getModifierState
as case sensitiveevent.charCode
list
updates correctly nowscrollLeft
, scrollTop
removed, these should not be specified as propsReact.addons.batchedUpdates
added to API for hooking into update cycleReact.addons.update
uses assign
instead of copyProperties
which does hasOwnProperty
checks. Properties on prototypes will no longer be updated correctly.@jsx React.DOM
no longer required{...}
) operator introduced to allow easier use of propsChangelog
0.11.2 (September 16, 2014)
<dialog>
element and associated open
attribute<picture>
element and associated media
and sizes
attributesReact.createElement
API in preparation for React v0.12
React.createDescriptor
has been deprecated as a result<picture>
is now parsed into React.DOM.picture
esprima
and jstransform
for correctness fixesjsx
executable now exposes a --strip-types
flag which can be used to remove TypeScript-like type annotations
require('react-tools').transform
as stripTypes
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 cases