Sourced from react-refresh's releases.
v0.11.0
React Core
Breaking Changes
getDefaultProps()is now called once per class and shared across all instancesMyComponent()now returns a descriptor, not an instanceReact.isValidComponentandReact.PropTypes.componentvalidate descriptors, not component instances- Custom
propTypevalidators should return anErrorinstead of logging directlyNew Features
- Rendering to
null- Keyboard events include normalized
e.keyande.getModifierState()properties- New normalized
onBeforeInputeventReact.Children.counthas been added as a helper for counting the number of childrenBug Fixes
- Re-renders are batched in more cases
- Events:
e.viewproperly normalized- Added Support for more HTML attributes (
coords,crossOrigin,download,hrefLang,mediaGroup,muted,scrolling,shape,srcSet,start,useMap)- Improved SVG support
- Changing
classNameon a mounted SVG component now works correctly- Added support for elements
maskandtspan- Added support for attributes
dx,dy,fillOpacity,fontFamily,fontSize,markerEnd,markerMid,markerStart,opacity,patternContentUnits,patternUnits,preserveAspectRatio,strokeDasharray,strokeOpacity- CSS property names with vendor prefixes (
Webkit,ms,Moz,O) are now handled properly- Duplicate keys no longer cause a hard error; now a warning is logged (and only one of the children with the same key is shown)
imgevent listeners are now unbound properly, preventing the error "Two valid but unequal nodes with the samedata-reactid"- Added explicit warning when missing polyfills
React With Addons
- PureRenderMixin: a mixin which helps optimize "pure" components
- Perf: a new set of tools to help with performance analysis
- Update: New
$applycommand to transform values- TransitionGroup bug fixes with null elements, Android
React NPM Module
- Now includes the pre-built packages under
dist/.envifyis properly listed as a dependency instead of a peer dependencyJSX
- Added support for namespaces, eg
<Components.Checkbox />- JSXTransformer
- Enable the same
harmonyfeatures available in the command line with<script type="text/jsx;harmony=true">- Scripts are downloaded in parallel for more speed. They are still executed in order (as you would expect with normal script tags)
- Fixed a bug preventing sourcemaps from working in Firefox
React Tools Module
- Improved readme with usage and API information
- Improved ES6 transforms available with
--harmonyoption- Added
--source-map-inlineoption to thejsxexecutable- New
transformWithDetailsAPI which gives access to the raw sourcemap data
... (truncated)
Sourced from react-refresh's changelog.
0.11.0 (July 17, 2014)
React Core
Breaking Changes
getDefaultProps()is now called once per class and shared across all instancesMyComponent()now returns a descriptor, not an instanceReact.isValidComponentandReact.PropTypes.componentvalidate descriptors, not component instances- Custom
propTypevalidators should return anErrorinstead of logging directlyNew Features
- Rendering to
null- Keyboard events include normalized
e.keyande.getModifierState()properties- New normalized
onBeforeInputeventReact.Children.counthas been added as a helper for counting the number of childrenBug Fixes
- Re-renders are batched in more cases
- Events:
e.viewproperly normalized- Added Support for more HTML attributes (
coords,crossOrigin,download,hrefLang,mediaGroup,muted,scrolling,shape,srcSet,start,useMap)- Improved SVG support
- Changing
classNameon a mounted SVG component now works correctly- Added support for elements
maskandtspan- Added support for attributes
dx,dy,fillOpacity,fontFamily,fontSize,markerEnd,markerMid,markerStart,opacity,patternContentUnits,patternUnits,preserveAspectRatio,strokeDasharray,strokeOpacity- CSS property names with vendor prefixes (
Webkit,ms,Moz,O) are now handled properly- Duplicate keys no longer cause a hard error; now a warning is logged (and only one of the children with the same key is shown)
imgevent listeners are now unbound properly, preventing the error "Two valid but unequal nodes with the samedata-reactid"- Added explicit warning when missing polyfills
React With Addons
- PureRenderMixin: a mixin which helps optimize "pure" components
- Perf: a new set of tools to help with performance analysis
- Update: New
$applycommand to transform values- TransitionGroup bug fixes with null elements, Android
React NPM Module
- Now includes the pre-built packages under
dist/.envifyis properly listed as a dependency instead of a peer dependencyJSX
- Added support for namespaces, eg
<Components.Checkbox />- JSXTransformer
- Enable the same
harmonyfeatures available in the command line with<script type="text/jsx;harmony=true">- Scripts are downloaded in parallel for more speed. They are still executed in order (as you would expect with normal script tags)
- Fixed a bug preventing sourcemaps from working in Firefox
React Tools Module
- Improved readme with usage and API information
- Improved ES6 transforms available with
--harmonyoption
... (truncated)