# What changed in @babel/preset-react

> 4 changes in @babel/preset-react 8 from its official release notes, upgrade guides and advisories: 2 breaking, 2 deprecations. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/@babel/preset-react/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @babel/preset-react 8

### Breaking changes

- This plugin requires @babel/core@^8.0.0 as a peer dependency; Babel 7 and Babel 8 plugin/core combinations are not officially supported. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration)
- Importing internal files is disallowed; use the exported API instead. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)

### Deprecations

- The loose option still works but emits a warning pointing to the equivalent assumptions configuration. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration)
- The spec option still works but emits a warning pointing to the equivalent assumptions configuration. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration)
