eslint-plugin-react-refresh breaking changes
eslint-plugin-react-refresh 0.5.7 (September 14, 2026) is its newest release with breaking changes. The first: Signature changed OnlyExportComponentsOptions. Every breaking API change we have recorded in eslint-plugin-react-refresh on npm: 15 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.5.8, released November 15, 2026. Source repository
Its 0.5.0 release requires Node.js 20 or later. Node.js end of life dates.
eslint-plugin-react-refresh 0.5.7 breaking changes
- Signature changed
OnlyExportComponentsOptions
Was type OnlyExportComponentsOptions = {extraHOCs?: string[]; allowExportNames?: string[]; allowConstantExport?: boolean; checkJS?: boolean;}; now type OnlyExportComponentsOptions = {extraHOCs?: string[]; allowExportNames?: string[]... npmjs.com
eslint-plugin-react-refresh 0.5.5 breaking changes
- Signature changed
default
Was const _default: {rules: Rules; configs: {recommended: Config; vite: Config; next: Config;};}; now const defaultExport: {rules: Rules; configs: {recommended: Config; vite: Config; next: Config;};}. npmjs.com
eslint-plugin-react-refresh 0.5.4 breaking changes
- Configuration changed
The Next config's allowExportNames list gains the instant export name, so exports named instant are no longer flagged by the rule. Check your config if you relied on the previous list. github.com
eslint-plugin-react-refresh 0.5.0 breaking changes
- Removed
connect
connect from react-redux is no longer recognized by default. Add it to the extraHOCs option. github.com - Renamed
customHOCs
Rename the customHOCs option to extraHOCs in your rule configuration. github.com - Behavior changed
HOC calls are now validated more strictly, so some components may be flagged. Add libraries such as connect or styled to extraHOCs if needed. github.com - Configuration changed
The package is now ESM only and needs ESLint 9 and Node.js 20. Upgrade ESLint and Node.js before updating. github.com - Configuration changed
Legacy eslintrc config no longer works with this ESM build. Move your ESLint configuration to flat config. github.com - Signature changed
default
Was const _default: {rules: Record<string, any>; configs: {recommended: Config; vite: Config; next: Config;};}; now const _default: {rules: Rules; configs: {recommended: Config; vite: Config; next: Config;};}. npmjs.com
eslint-plugin-react-refresh 0.4.25 breaking changes
- Behavior changed
The rule now reports cases like export const ENUM = Object.keys(TABLE) as EnumType[], which may newly fail lint for code that previously passed. github.com
eslint-plugin-react-refresh 0.4.21 breaking changes
- Signature changed
default
Was const _default: {rules: Record<string, any>; configs: {recommended: Config; vite: Config;};}; now const _default: {rules: Record<string, any>; configs: {recommended: Config; vite: Config; next: Config;};}. npmjs.com
Older versions
3 older versions.
Show 3 older versions
eslint-plugin-react-refresh 0.4.15 breaking changes
- Removed
rules
rules was removed in eslint-plugin-react-refresh 0.4.15 npmjs.com - Configuration changed
The package now declares ESLint 8.40 as its minimum peer dependency. Users on older ESLint versions should upgrade ESLint to avoid package manager warnings. github.com
eslint-plugin-react-refresh 0.4.14 breaking changes
- Behavior changed
The rule now reports a warning when a React context is exported from the same file as a component, so code that exports both may start getting new lint warnings. github.com
eslint-plugin-react-refresh 0.3.0 breaking changes
- Behavior changed
The plugin now reports an error for files that have no exports or whose exports are not components. Existing code that matches these cases may start failing lint. github.com
Read the guide
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.