npm / @babel/preset-react
@babel/preset-react
What changed in @babel/preset-react 8, from its official release notes, upgrade guides and advisories. Also covers @babel/helper-builder-react-jsx, @babel/plugin-proposal-export-default-from, @babel/plugin-syntax-export-default-from, @babel/plugin-syntax-jsx, @babel/plugin-transform-async-to-generator, @babel/plugin-transform-class-properties, @babel/plugin-transform-exponentiation-operator, @babel/plugin-transform-export-namespace-from, @babel/plugin-transform-flow-strip-types, @babel/plugin-transform-logical-assignment-operators, @babel/plugin-transform-modules-commonjs, @babel/plugin-transform-named-capturing-groups-regex, @babel/plugin-transform-nullish-coalescing-operator, @babel/plugin-transform-object-rest-spread, @babel/plugin-transform-optional-catch-binding, @babel/plugin-transform-private-methods, @babel/plugin-transform-react-display-name, @babel/plugin-transform-react-jsx, @babel/plugin-transform-react-jsx-development, @babel/plugin-transform-react-pure-annotations, @babel/plugin-transform-sticky-regex, @babel/plugin-transform-unicode-regex. Sources checked 2026-10-27.
2 breaking2 deprecations
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@babel/preset-react 84 changes
Breaking changes 2
This plugin requires @babel/core@^8.0.0 as a peer dependency; Babel 7 and Babel 8 plugin/core combinations are not officially supported.
Importing internal files is disallowed; use the exported API instead.
Deprecations 2
The loose option still works but emits a warning pointing to the equivalent assumptions configuration.
The spec option still works but emits a warning pointing to the equivalent assumptions configuration.