scheduler
0.28.0 · 9 Sep 2026MIT286.5M / weekRepositoryHomepagenpmAtom feed
0.28.0 is the newest release of 0.11.x.
In short
4 breaking11 new1 faster7 fixed7 changed
- Breaking
getDefaultProps()is now called once per class and shared across all instances - Breaking
MyComponent()now returns a descriptor, not an instance - Breaking
React.isValidComponentandReact.PropTypes.componentvalidate descriptors, not component instances - Breaking
Custom
propTypevalidators should return anErrorinstead of logging directly
Release note
React Core
Breaking Changes
- Breaking
getDefaultProps()is now called once per class and shared across all instances - Breaking
MyComponent()now returns a descriptor, not an instance - Breaking
React.isValidComponentandReact.PropTypes.componentvalidate descriptors, not component instances - Breaking
Custom
propTypevalidators should return anErrorinstead of logging directly
New Features
Rendering to
nullKeyboard events include normalized
e.keyande.getModifierState()propertiesNew normalized
onBeforeInputeventReact.Children.counthas been added as a helper for counting the number of children
Bug Fixes
Re-renders are batched in more cases
Events:
e.viewproperly normalizedAdded 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 correctlyAdded support for elements
maskandtspanAdded 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 properlyDuplicate 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
A new set of tools to help with performance analysis
Update: New
$applycommand to transform valuesTransitionGroup 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 dependency
JSX
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
--harmonyoptionAdded
--source-map-inlineoption to thejsxexecutableNew
transformWithDetailsAPI which gives access to the raw sourcemap data
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.