---
title: "eslint-plugin-react-refresh 0.5.7 Breaking Changes on npm"
description: "What each eslint-plugin-react-refresh release removed, renamed or changed: 15 breaking changes in 9 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/eslint-plugin-react-refresh
last_updated: 2026-12-04
---

# 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

Latest version `0.5.8`, released November 15, 2026. [Source repository](https://github.com/ArnaudBarre/eslint-plugin-react-refresh)

Its 0.5.0 release requires [Node.js 20](https://since.dev/calendar/nodejs/20.md) or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.3.0](#v-0-3-0) to [0.5.7](#v-0-5-7): 14 breaking changes in 8 versions.

## eslint-plugin-react-refresh 0.5.7 breaking changes

eslint-plugin-react-refresh 0.5.7, released September 14, 2026: 1 breaking change.

- **Signature changed** `OnlyExportComponentsOptions`  

Was type OnlyExportComponentsOptions = {extraHOCs?: string\[\]; allowExportNames?: string\[\]; allowConstantExport?: boolean; checkJS?: boolean;}; now type OnlyExportComponentsOptions = {extraHOCs?: string\[\]; allowExportNames?: string\[\]... [npmjs.com](https://www.npmjs.com/package/eslint-plugin-react-refresh/v/0.5.7)

## eslint-plugin-react-refresh 0.5.5 breaking changes

eslint-plugin-react-refresh 0.5.5, released August 26, 2026: 1 breaking change.

- **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](https://www.npmjs.com/package/eslint-plugin-react-refresh/v/0.5.5)

## eslint-plugin-react-refresh 0.5.4 breaking changes

eslint-plugin-react-refresh 0.5.4, released August 10, 2026: 1 breaking change.

- **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](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases/tag/v0.5.4)

## eslint-plugin-react-refresh 0.5.0 breaking changes

eslint-plugin-react-refresh 0.5.0, released February 1, 2026: 6 breaking changes.

- **Removed** `connect`  

connect from react-redux is no longer recognized by default. Add it to the extraHOCs option. [github.com](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases/tag/v0.5.0)
- **Renamed** `customHOCs`  

Rename the customHOCs option to extraHOCs in your rule configuration. [github.com](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases/tag/v0.5.0)
- **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](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases/tag/v0.5.0)
- **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](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases/tag/v0.5.0)
- **Configuration changed**  

Legacy eslintrc config no longer works with this ESM build. Move your ESLint configuration to flat config. [github.com](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases/tag/v0.5.0)
- **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](https://www.npmjs.com/package/eslint-plugin-react-refresh/v/0.5.0)

## eslint-plugin-react-refresh 0.4.25 breaking changes

eslint-plugin-react-refresh 0.4.25, released December 14, 2025: 1 breaking change.

- **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](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases/tag/v0.4.25)

## eslint-plugin-react-refresh 0.4.21 breaking changes

eslint-plugin-react-refresh 0.4.21, released September 22, 2025: 1 breaking change.

- **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](https://www.npmjs.com/package/eslint-plugin-react-refresh/v/0.4.21)

## Older versions

3 older versions.

### eslint-plugin-react-refresh 0.4.15 breaking changes

eslint-plugin-react-refresh 0.4.15, released December 2, 2024: 2 breaking changes.

- **Removed** `rules`  

rules was removed in eslint-plugin-react-refresh 0.4.15 [npmjs.com](https://www.npmjs.com/package/eslint-plugin-react-refresh/v/0.4.15)
- **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](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases/tag/v0.4.15)

### eslint-plugin-react-refresh 0.4.14 breaking changes

eslint-plugin-react-refresh 0.4.14, released October 24, 2024: 1 breaking change.

- **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](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases/tag/v0.4.14)

### eslint-plugin-react-refresh 0.3.0 breaking changes

eslint-plugin-react-refresh 0.3.0, released November 12, 2022: 1 breaking change.

- **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](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases/tag/v0.3.0)

## Read the guide

- [What is eslint-plugin-react-refresh, and how do you fix its errors?](https://since.dev/guides/eslint-plugin-react-refresh.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
