react-source breaking changes
react-source 0.13.0 (March 10, 2015) is its newest release with breaking changes, 8 of them. The first: Deprecated patterns that warned in 0.12 no longer work in react-source 0.13.0. Every breaking API change we have recorded in react-source on RubyGems: 42 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.13.3. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
react-source 0.13.0 breaking changes
- Removed
Calling component classes without JSX or React.createElement, and using non-component functions with JSX or createElement, no longer works. Wrap components in JSX or createElement and use only components as element types. github.com - Removed
this._pendingState
Access to internal properties was removed, including this._pendingState. Use the function form of setState instead. github.com - Removed
this._rootNodeID
Access to internal properties was removed, including this._rootNodeID. github.com - Behavior changed
Use of > or } inside an element was previously treated as a string but is now a parse error. Check JSX for these characters. github.com - Behavior changed
When transforming ES6 syntax, class methods are no longer enumerable and require Object.defineProperty. Pass --target es3 to mirror the old behavior for browsers such as IE8. github.com - Behavior changed
ref
A ref to a component is now available immediately after its componentDidMount is called. Code that calls a parent callback inside componentDidMount may observe a difference. github.com - Behavior changed
setState
Calls to setState in lifecycle methods are now always batched and asynchronous. The first call on first mount was previously synchronous. github.com - Behavior changed
statics
Methods defined in statics are no longer automatically bound to the component class. Bind them yourself if you rely on this. github.com
react-source 0.12.0 breaking changes
- Removed
React.__internals
React.__internals was removed because it was exposed only for DevTools, which no longer needs it. github.com - Removed
scrollLeft
scrollLeft should no longer be specified as a prop. github.com - Removed
scrollTop
scrollTop should no longer be specified as a prop. github.com - Behavior changed
JSX output changed and no longer uses simple function calls. github.com - Behavior changed
key and ref moved off the props object and are now accessed directly on the element. Code reading them from props must change. github.com - Behavior changed
Default prop resolution moved from mount time to element creation time, so default props are effectively static. github.com - Behavior changed
Lower case JSX tag names are always treated as HTML tags and upper case names as composite components. github.com - Behavior changed
Composite component functions must be wrapped with React.createFactory before use. JSX does this automatically. github.com - Behavior changed
React.addons.update
React.addons.update uses assign instead of copyProperties, so properties on prototypes will no longer be updated correctly. github.com
react-source 0.11.0 breaking changes
- Behavior changed
getDefaultProps
getDefaultProps() now runs once per class and its result is shared by all instances, so code that mutates default props or relies on per-instance defaults can behave differently. github.com - Behavior changed
MyComponent
Calling a component such as MyComponent() now returns a descriptor rather than an instance, so code that calls components directly must change. github.com - Behavior changed
propType
Custom propType validators should now return an Error rather than logging the problem directly, so validators that only log need to be updated. github.com - Behavior changed
React.isValidComponent
React.isValidComponent now checks descriptors rather than component instances, so existing checks may return different results. github.com - Behavior changed
React.PropTypes.component
React.PropTypes.component now validates descriptors rather than component instances, so existing prop validation may behave differently. github.com
react-source 0.9.0 breaking changes
- Removed
getValue
Use the DOM node's value property instead of calling getValue(). github.com - Removed
React.unmountAndReleaseReactRootNode
This previously deprecated function is gone and calls to it will fail. github.com - Renamed
React.addons.TransitionGroup
Code using the CSS transition wrapper must switch to the new name. github.com - Behavior changed
Rendering an html tag with React now requires that the page was server-rendered first. github.com - Behavior changed
Listed CSS properties such as flex and order are now emitted without px units. github.com - Behavior changed
Spaces between components on one line are kept and newlines next to text are removed, so rendered text may differ; a codemod is available. github.com - Behavior changed
Attributes such as disabled are now output with no value rather than as disabled equals true. github.com - Behavior changed
deltaY
Code reading deltaY from wheel events will see the opposite sign. github.com - Behavior changed
React.PropTypes
Validation failures no longer throw an error, and type checks are skipped in the production build. github.com - Behavior changed
React.renderComponentToString
It now returns the generated HTML string directly instead of working asynchronously. github.com
And 3 more in this version. Sign up to see every change
react-source 0.5.0 breaking changes
- Removed
React.autoBind
React.autoBind was deprecated in v0.4 and is now removed, so code calling it will no longer work. github.com - Renamed
React.unmountAndReleaseReactRootNode
React.unmountAndReleaseReactRootNode is renamed to React.unmountComponentAtNode; update calls to the new name. github.com - Behavior changed
Prop values are now always converted to a string before being inserted into the DOM, which can change how non-string values render. github.com - Behavior changed
The JSX transform no longer rewrites class to className, so code using class must be changed to className or components will be visually broken. github.com
react-source 0.4.0 breaking changes
- Removed
React.autoBind
React.autoBind was removed in this release. Code calling it will no longer work and must be updated. github.com - Behavior changed
React now uses a data-reactid attribute rather than the id attribute to track DOM nodes. Code that relies on React setting or reading id attributes on its elements must change. github.com - Behavior changed
this.setState
setState's second parameter is now a callback. Code that passed an event-bound state through onClick must add a third parameter so the event is not treated as the callback. github.com
Related packages
- eslint-plugin-react-hooks on npm
- react-is on npm
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.