NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #2180 most downloaded on pub.dev
Bindings of the ReactJS library for building interactive interfaces.
Latest stable
7.3.2
Last release 8 months ago
12 Mar 2026
Ships fairly regularly
a new release about every 4 months
Most releases are documented
notes for 47 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
119 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Build: (waiting for build to complete) Skynet Results: (waiting for Skynet results) Pipeline: (waiting for pipeline to start) This patch release inclu
Build: (waiting for build to complete) Skynet Results: (waiting for Skynet results) Pipeline: (waiting for pipeline to start) This patch release includes the following changes:
[x] #426 Update dependencies to allow analyzer 10
[x] #427 RM-351452 Release react-dart 7.3.2
Notes created on Thursday, March 12 12:22 PM UTC
Build: (waiting for build to complete) Skynet Results: (waiting for Skynet results) Pipeline: (waiting for pipeline to start) This patch release inclu
Build: (waiting for build to complete) Skynet Results: (waiting for Skynet results) Pipeline: (waiting for pipeline to start) This patch release includes the following changes:
[x] #420 FED-3927 Fix failing test on Dart 3
[x] #421 no_entrypoint_imports
[x] #422 FED-4060 Set up gha-dart-oss
[x] #423 RM-327375 Release react-dart 7.3.1
Notes created on Monday, August 25 07:19 PM UTC
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Build: (waiting for build to complete) Skynet Results: (waiting for Skynet results) Pipeline: (waiting for pipeline to start) This minor release inclu
Build: (waiting for build to complete) Skynet Results: (waiting for Skynet results) Pipeline: (waiting for pipeline to start) This minor release includes the following changes:
[x] #410 Raise the build_web_compilers dependency max to v5.0.0
[x] #411 Raise the meta dependency min to v1.16.0
[x] #415 RM-288881 Release react-dart 7.3.0
Notes created on Thursday, April 17 10:58 PM UTC
<3.0.0 to <4.0.0, run CI on Dart 3Build: (waiting for build to complete) Skynet Results: (waiting for Skynet results) Pipeline: (waiting for pipeline to start) This minor release inclu
Build: (waiting for build to complete) Skynet Results: (waiting for Skynet results) Pipeline: (waiting for pipeline to start) This minor release includes the following changes:
Notes created on Monday, October 07 09:41 PM UTC
Build: (waiting for build to complete) Skynet Results: (waiting for Skynet results) Pipeline: (waiting for pipeline to start) This patch release inclu
Build: (waiting for build to complete) Skynet Results: (waiting for Skynet results) Pipeline: (waiting for pipeline to start) This patch release includes the following changes:
Notes created on Tuesday, July 09 04:44 PM UTC
Build: https://ci.webfilings.com/build/6021395 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/6021395/latest Pipeline: https://w-r
Build: https://ci.webfilings.com/build/6021395 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/6021395/latest Pipeline: https://w-rmconsole.appspot.com/release/pipeline/5557689202114560/ This patch release includes the following changes:
[x] #400 Add CDN publish back temporarily
[x] #401 RM-264468 Release react-dart 7.1.2
Notes created on Friday, June 07 06:38 PM UTC
Build: https://ci.webfilings.com/build/5608638 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/5608638/latest Pipeline: https://w-r
Build: https://ci.webfilings.com/build/5608638 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/5608638/latest Pipeline: https://w-rmconsole.appspot.com/release/pipeline/5500228848451584/ This minor release includes the following changes:
Notes created on Monday, March 04 07:03 PM UTC
Add a new ReactNode type, which aliases Object? to mimic the React JS Typescript type.
Build: https://ci.webfilings.com/build/5181196 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/5181196/latest Pipeline: https://w-r
Build: https://ci.webfilings.com/build/5181196 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/5181196/latest Pipeline: https://w-rmconsole.appspot.com/release/pipeline/5755607302930432/ This major release includes the following changes:
[x] #378 Dart 2.19
[x] #379 FED-1850 Add Dart 2.19 to GHA matrix
[x] #380 RM-217585 FED-1716 Release react-dart 7.0.0 (null-safety)
Notes created on Friday, November 10 05:49 PM UTC
[x] #372 FEDX-414 Add APIs and update deprecations in preparation for 7.0.0 release
Build: https://ci.webfilings.com/build/5056960 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/5056960/latest Pipeline: https://w-rmconsole.appspot.com/release/pipeline/4638917009735680/ This minor release includes the following changes:
Notes created on Monday, October 09 11:05 PM UTC
htmlMain - replacement for deprecated react.main, to be removed in 7.0.0useRefInit - useRef can't be used to create non-nullable-typed refs, but useRefInit canBuild: https://ci.webfilings.com/build/4998758 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/4998758/latest Pipeline: https://w-r
Build: https://ci.webfilings.com/build/4998758 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/4998758/latest Pipeline: https://w-rmconsole.appspot.com/release/pipeline/4808037848186880/ This patch release includes the following changes:
Notes created on Monday, September 25 09:45 PM UTC
Build: https://ci.webfilings.com/build/4487972 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/4487972/latest Pipeline: https://w-r
Build: https://ci.webfilings.com/build/4487972 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/4487972/latest Pipeline: https://w-rmconsole.appspot.com/release/pipeline/5606346436902912/ This minor release includes the following changes:
[x] #354 Raise analyzer minimum & unpin meta
[x] #355 Pin mockito 5
[x] #356 FED-1161 Unpin mockito, fix CI
[x] #357 FED-1254 add Suspense component
[x] #359 RM-171359 Release react-dart 6.2.0
Notes created on Friday, April 21 05:58 PM UTC
Build: https://ci.webfilings.com/build/4125908 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/4125908/latest Pipeline: https://w-r
Build: https://ci.webfilings.com/build/4125908 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/4125908/latest Pipeline: https://w-rmconsole.appspot.com/release/pipeline/4617952663699456/ This patch release includes the following changes:
jsUndefined instead of null when children prop is empty
Tab component warns about children when rendered from DartNotes created on Tuesday, December 06 06:11 PM UTC
jsUndefined instead of null when children prop is empty[x] #340 Replace deprecated commands with new dart commands
Build: https://ci.webfilings.com/build/3825931 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/3825931/latest Pipeline: https://w-rmconsole.appspot.com/release/pipeline/5884758549331968/ This patch release includes the following changes:
[x] #345 RM-139349 Release react-dart 6.1.7
[x] #335 Bump minimist from 1.2.5 to 1.2.6
[x] #338 Bump ansi-regex from 4.1.0 to 4.1.1
[x] #340 Replace deprecated commands with new dart commands
[x] #341 FW-151 Add skynet config that verifies that github workflow is successful
[x] #342 Narrow dependency_validator range to avoid NNBD issue
Notes created on Thursday, August 11 10:23 PM UTC
Build: https://ci.webfilings.com/build/3503928 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/3503928/latest Pipeline: https://w-r
Build: https://ci.webfilings.com/build/3503928 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/3503928/latest Pipeline: https://w-rmconsole.appspot.com/release/pipeline/6599850832166912/ This patch release includes the following changes:
Notes created on Wednesday, March 30 09:25 PM UTC
Build: https://ci.webfilings.com/build/3492775 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/3492775/latest Pipeline: https://w-r
Build: https://ci.webfilings.com/build/3492775 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/3492775/latest Pipeline: https://w-rmconsole.appspot.com/release/pipeline/4920657803214848/ This patch release includes the following changes:
[x] #331 Fix wildcard to include branch names with slashes
[x] #332 Temporarily disable the mockito builder for better build perf
[x] #333 remove ancient unused code
[x] #334 RM-121042 Release react-dart 6.1.5
Notes created on Friday, March 25 06:10 PM UTC
Build: https://ci.webfilings.com/build/3182985 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/3182985/latest Pipeline: https://w-r
Build: https://ci.webfilings.com/build/3182985 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/3182985/latest Pipeline: https://w-rmconsole.appspot.com/release/pipeline/4786278388989952/ This patch release includes the following changes:
[x] #327 Fix stable ci build
[x] #328 Work around $identityHash being added to JS objects passed into jsifyAndAllowInterop
[x] #329 RM-121022 Release react-dart 6.1.4
Notes created on Monday, November 01 11:33 PM UTC
Build: https://ci.webfilings.com/build/3182694 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/3182694/latest Pipeline: https://w-r
Build: https://ci.webfilings.com/build/3182694 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/3182694/latest Pipeline: https://w-rmconsole.appspot.com/release/pipeline/5403795499253760/ This patch release includes the following changes:
[x] #308 Bump elliptic from 6.5.3 to 6.5.4
[x] #309 Update README.md
[x] #311 Bump ssri from 6.0.1 to 6.0.2
[x] #312 Bump lodash from 4.17.20 to 4.17.21
[x] #313 Bump browserslist from 4.16.1 to 4.16.6
[x] #315 Upgrade to Dart 2.13
[x] #318 Bump path-parse from 1.0.6 to 1.0.7
[x] #323 Raise the Dart SDK minimum to at least 2.11.0
[x] #325 Upgrade dependency_validator
[x] #326 RM-113709 Release react-dart 6.1.3
Notes created on Monday, November 01 10:06 PM UTC
Build: https://ci.webfilings.com/build/3049475 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/3049475/latest Pipeline: https://w-r
Build: https://ci.webfilings.com/build/3049475 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/3049475/latest Pipeline: https://w-rmconsole.appspot.com/release/pipeline/5815220868743168/ This patch release includes the following changes:
[x] #321 Fix missing Dart component names in error boundary componentStack
[x] #322 RM-112707 Release react-dart 6.1.2
Notes created on Monday, August 30 04:44 PM UTC
Build: https://ci.webfilings.com/build/3030629 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/3030629/latest Pipeline: https://w-r
Build: https://ci.webfilings.com/build/3030629 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/3030629/latest Pipeline: https://w-rmconsole.appspot.com/release/pipeline/5586709885222912/ This patch release includes the following changes:
[x] #319 Add baseURI polyfill for IE 11 compatibility on Dart 2.13
[x] #320 RM-110959 Release react-dart 6.1.1
Notes created on Thursday, August 19 09:27 PM UTC
[x] #310 Remove deprecated authors field from pubspec.yaml
Build: https://ci.webfilings.com/build/2996735 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/2996735/latest Pipeline: https://w-rmconsole.appspot.com/release/pipeline/5129473035599872/ This minor release includes the following changes:
[x] #310 Remove deprecated authors field from pubspec.yaml
[x] #316 CPLAT-15062 Export generateJsProps
[x] #317 RM-95981 Release react-dart 6.1.0
Notes created on Tuesday, August 03 03:57 PM UTC
Build: https://ci.webfilings.com/build/2692360 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/2692360/latest Pipeline: https://w-r
Build: https://ci.webfilings.com/build/2692360 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/2692360/latest Pipeline: https://w-rmconsole.appspot.com/release/pipeline/5798731056939008/ This patch release includes the following changes:
[x] #301 Fix isMouseEvent returning false for simulated context menu events
[x] #303 Fix bad aviary.yaml syntax
[x] #305 CPLAT-13185 Fix JsBackedMap for Dart 2.12
[x] #306 RM-93289 Release react 6.0.1
Notes created on Wednesday, February 17 09:58 PM UTC
Build: https://ci.webfilings.com/build/2636056 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/2636056/latest Pipeline: https://w-r
Build: https://ci.webfilings.com/build/2636056 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/2636056/latest Pipeline: https://w-rmconsole.appspot.com/release/pipeline/4527944228405248/ This major release includes the following changes:
[x] #285 RM-93030 Release react-dart 6.0.0
[x] #295 Add credit to original authors/maintainers
[x] #296 Set up Workiva Build, move build steps since Travis which no longer runs
[x] #297 Set up Github actions CI
Notes created on Friday, January 15 07:54 PM UTC
This stable, major release of react includes:
The underlying .js files provided by this package are now ReactJS version 17.0.1.
[#289] Update most deprecations that were slated for removal in v6.0.0 to be slated for removal in v7.0.0 instead. To keep the migration to v6.0.0 as…
SyntheticEvent.isFormEvent. Because form events do not exist as their own type in ReactJS, this helper will be removed in v6.0.0. Instead, check for the expected form event types.[#282] Add SyntheticEvent helpers that eliminate the need to use synthetic event class constructors. Additionally, added utilities to assist in type c
SyntheticEvent helpers that eliminate the need to use synthetic event class constructors. Additionally, added utilities to assist in type checking events without manually using the is keyword.[#280] Update React dev JS files to include a workaround to a DDC bug when using Chrome 86+ (fixed in Dart 2.9.3)
[#275] Add forwardRef2 / memo2 to fix _"jsification"_ of Dart props
forwardRef2 / memo2 to fix "jsification" of Dart props
forwardRef / memo3.1.0_Accidentally overlooked when Component was deprecated_
propTypes from Dart2js output.
registerComponent.
Component was deprecateduseImperativeHandle hookThis release of react includes...
This release of react includes...
New Features
🎉 🎉 🎉 Support for function components, memo and hooks!!! 🎉 🎉 🎉
Sooooo much work from so many amazing people made this possible, but to summarize:
memo higher order component<p><br>It works like this...</p>
Define the component:
import 'package:react/react.dart' as react;
final SomeWidget = react.registerFunctionComponent(_SomeWidget, displayName: 'SomeWidget');
_SomeWidget(Map props) {
// You can use hooks in here, too!
return react.div({}, [
// Some children...
]);
}
Render the component (exact same consumer API as a class-based component):
import 'package:react/react_dom.dart' as react_dom;
import 'some_widget.dart'; // Where your component is defined
main() {
final renderedWidget = SomeWidget({
// put some props here
}, [
// put some children here!
]);
react_dom.render(renderedWidget, querySelector('#idOfSomeNodeInTheDom'));
}
Check out all the function component and hooks examples for more information!
Fixes / Updates
setClientConfiguration.
JsBackedMap.values compatible with MSIE 11[#244] Add support for HTML Composition events
New Features
SyntheticEvent.persist()Fixes / Updates
Component.render() from being swallowedJS Dependency Updates
6.4.0 to 6.4.14.17.15 to 4.17.19Unpin the react-redux JS dependency to allow versions 7.1.1 and higher.
7.1.1 and higher.over_react_redux (like the one that required the 5.2.1 hotfix).Temporarily pin react-redux dependency to version 7.1.0 to prevent widespread test failures as a result of `Provider` being converted into a function
7.1.0 to prevent widespread test failures as a result of
Provider being converted into a function component with hooks.[#238] Fix js package security vulnerability
setStateWithUpdatergetDerivedStateFromError interopcomponentZone to allow overriding the zone in which Component2 lifecycle methods are run, for testingImprove the documentation for deprecated Component2 lifecycle methods.
Component2 lifecycle methods.The new Component2 class replaces the now deprecated Component class.
Full ReactJS 16.x Component Lifecycle Support
Component2 class replaces the now deprecated Component class.
ReactJsComponentFactoryProxy makes it easy to use JS components with Dart!
componentWillMount</s> => componentDidMountcomponentWillReceiveProps</s> => getDerivedStateFromProps (new)componentWillUpdate</s> => getSnapshotBeforeUpdate (new)componentDidCatch / getDerivedStateFromError (new)
Improved, stable Context API
New and improved ref API: React.createRef
React Redux is now included in the JS bundles and exposed via window.ReactRedux.
Pull in 4.9.2 changes that were accidentally reverted as part of 5.0.0.
Pull in 4.9.2 changes that were accidentally reverted as part of 5.0.0.
- [#220] Fix bug where reading
dataTransfersometimes threw during synthetic event conversion
> __Full List of Breaking Changes__
ReactJS 16.x Support
.js files provided by this package are now ReactJS version 16.5.1.0.Nothing published for this version
Nothing published for this version
[#220] Fix bug where reading dataTransfer sometimes threw during synthetic event conversion
dataTransfer sometimes threw during synthetic event conversion[#205] Fix context setter typing to match getter and not fail implicit_casts: false
context setter typing to match getter and not fail implicit_casts: false[#202] Add bindings for transition / animation events
[#197] Fix Dart component callback refs with typed arguments not working in Dart 2 dynamic ref argument (worked): `dart Foo({'ref': (ref) => _fooRef =
Foo({'ref': (ref) => _fooRef = ref})
non-dynamic ref argument (did not work):Foo({'ref': (FooComponent ref) => _fooRef = ref})
[#181]: Remove unnecessary zoning on event handlers that interferes with testing
Handlers triggered by real events will now always be called in the root zone.
In most cases, handlers were already running in the root zone, so this should not affect behavior. See [#179] for more details.
When testing, you previous had to bind event handlers or callbacks triggered by event handlers to zones when using expect or expectAsync.
var renderedInstance = renderIntoDocument(
Button({}, {
'onButtonPress': Zone.current.bindUnaryCallback(expectAsync((e) {
// ...
}, reason: 'onButtonPress not called')),
'onClick': Zone.current.bindUnaryCallback((e) {
expect(e.defaultPrevented, isTrue);
}),
}),
);
// ...
Simulate.click(buttonNode);
Now, handlers will be called in the zone they're triggered from, which makes testing events easier and more predictable:
var renderedInstance = renderIntoDocument(
Button({}, {
'onButtonPress': expectAsync((e) {
// ...
}, reason: 'onButtonPress not called'),
'onClick': (e) {
expect(e.defaultPrevented, isTrue);
},
}),
);
// ...
Simulate.click(buttonNode);
Use newObject() from dart:js_util instead
emptyJsMap:
newObject() from dart:js_util instead[#162]: Add jsifyAndAllowInterop, deprecate some obsolete JS utils:
jsifyAndAllowInterop, deprecate some obsolete JS utils:
jsify, setProperty, and getProperty; use versions from dart:js_util insteadEmptyObject; use newObject from dart:js_util instead> These deprecations are being put in place to prepare consumers for the upcoming 5.0.0 release which will include support for React JS version 16.x
[#162]: Important Deprecations
These deprecations are being put in place to prepare consumers for the upcoming
5.0.0release which will include support for React JS version 16.x
react_server.dart and Dart VM server-side rendering
react_dom_server.dart, though untested, is still in placecontext APIsisMountedreact_test_utils.SimulateNativeComponent.refsComponent.replaceStatesComponent.bindComponent.transferComponentState[#155]: Clean the lint trap.
[#159]: Update the type for [unconverted js style prop map][#153] to be Map .
style prop map][#153] to be Map<String, dynamic>.[#152]: Format all files using dartfmt.
dartfmt.unconvertJsProps utility function.Improvement: Dart 2 compatible!
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.