react-tools
Advanced tools
Changelog
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.Changelog
0.9.0 (February 20, 2014)
componentDidMount
and componentDidUpdate
no longer receive the root node as a parameter; use this.getDOMNode()
insteadundefined
, the default value returned by getDefaultProps
will now be used insteadReact.unmountAndReleaseReactRootNode
was previously deprecated and has now been removedReact.renderComponentToString
is now synchronous and returns the generated HTML string<html>
tag using React) is now supported only when starting with server-rendered markupdeltaY
is no longer negatedinput
, select
, and textarea
elements, .getValue()
is no longer supported; use .getDOMNode().value
insteadthis.context
on components is now reserved for internal use by Reactdefs
, linearGradient
, polygon
, radialGradient
, stop
crossOrigin
for CORS requestsdownload
and hrefLang
for <a>
tagsmediaGroup
and muted
for <audio>
and <video>
tagsnoValidate
and formNoValidate
for formsproperty
for Open Graph <meta>
tagssandbox
, seamless
, and srcDoc
for <iframe>
tagsscope
for screen readersspan
for <colgroup>
tagspropTypes
in mixinsany
, arrayOf
, component
, oneOfType
, renderable
, shape
to React.PropTypes
statics
on component spec for static component methods.currentTarget
is now properly set.key
is now polyfilled in all browsers for special (non-printable) keys.clipboardData
is now polyfilled in IE.dragTransfer
is now presentonMouseOver
and onMouseOut
in addition to the existing onMouseEnter
and onMouseLeave
eventsonLoad
and onError
on <img>
elementsonReset
on <form>
elementsautoFocus
attribute is now polyfilled consistently on input
, select
, and textarea
__owner__
property to each component's props
object; passed-in props are now never mutatedReact.renderComponent
within componentDidMount
), events now properly bubble to the parent component.target
, .relatedTarget
, and .type
are now set properly.data
is now properly normalized in IE9 and IE10px
appended for the unitless properties columnCount
, flex
, flexGrow
, flexShrink
, lineClamp
, order
, widows
componentWillUnmount
handlerrenderComponentToString
would store event handlersdisabled
are rendered without a value (previously disabled="true"
, now simply disabled
)key
values containing .
are now supporteddata-reactid
values for performancekey
property changesdocument
only when necessary, improving performance in some cases.returnValue
in modern browsers, eliminating a warning in ChromescrollLeft
and scrollTop
are no longer accessed on document.body, eliminating a warning in ChromeReact.addons.TestUtils
was added to help write unit testsReact.addons.TransitionGroup
was renamed to React.addons.CSSTransitionGroup
React.addons.TransitionGroup
was added as a more general animation wrapperReact.addons.cloneWithProps
was added for cloning components and modifying their propstransitionLeave
in CSSTransitionGroup<input>
elements, checkedLink
is now supported for two-way bindingreact-tools
npm package no longer includes the React core libraries; use the react
package instead.displayName
is now added in more cases, improving error messages and names in the React Dev ToolsJSXTransformer
now uses source maps automatically in modern browsersJSXTransformer
error messages now include the filename and problematic line contents when a file fails to parseChangelog
0.8.0 (December 19, 2013)
rows
& cols
for <textarea>
defer
& async
for <script>
loop
for <audio>
& <video>
autoCorrect
for form fields (a non-standard attribute only supported by mobile WebKit)onContextMenu
eventsonTransition
jstransform
and esprima-fb
Changelog
0.5.2, 0.4.2 (December 18, 2013)
key
: CVE-2013-7035Changelog
0.5.2, 0.4.2 (December 18, 2013)
key
: CVE-2013-7035Changelog
0.5.1 (October 29, 2013)
<input type="range">
and selection events.disabled
attribute handling on non-<input>
elements.Changelog
0.5.0 (October 16, 2013)
charSet
, content
, form
, httpEquiv
, rowSpan
, autoCapitalize
).rx
, ry
).getInitialState
and getDefaultProps
in mixins.React.version
.React.isValidClass
- Used to determine if a value is a valid component constructor.React.autoBind
- This was deprecated in v0.4 and now properly removed.React.unmountAndReleaseReactRootNode
to React.unmountComponentAtNode
.class
to className
as part of the transform! This is a breaking change - if you were using class
, you must change this to className
or your components will be visually broken.