Skip to content

Commit f974c78

Browse files
committed
Compiler blog post edits
Tweaks to the post.
1 parent 3a88efd commit f974c78

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/content/blog/2025/04/21/react-compiler-rc.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The React team is excited to share new updates:
1717
</Intro>
1818

1919
1. We're publishing React Compiler RC today, in preparation of the compiler's stable release.
20-
2. We're simplifying your eslint setup by merging `eslint-plugin-react-compiler` into `eslint-plugin-react-hooks`.
20+
2. We're merging `eslint-plugin-react-compiler` into `eslint-plugin-react-hooks`.
2121
3. We're working with the swc and oxc teams to add plugins to allow for Babel-free build pipelines.
2222

2323
---
@@ -58,20 +58,20 @@ To install eslint-plugin-react-hooks:
5858

5959
npm
6060
<TerminalBlock>
61-
{`npm install --save-dev eslint-plugin-react-hooks@^6.0.0`}
61+
{`npm install --save-dev eslint-plugin-react-hooks@^6.0.0-rc.1`}
6262
</TerminalBlock>
6363

6464
pnpm
6565
<TerminalBlock>
66-
{`pnpm add --save-dev eslint-plugin-react-hooks@^6.0.0`}
66+
{`pnpm add --save-dev eslint-plugin-react-hooks@^6.0.0-rc.1`}
6767
</TerminalBlock>
6868

6969
yarn
7070
<TerminalBlock>
71-
{`yarn add --dev eslint-plugin-react-hooks@^6.0.0`}
71+
{`yarn add --dev eslint-plugin-react-hooks@^6.0.0-rc.1`}
7272
</TerminalBlock>
7373

74-
`eslint-plugin-react-hooks` 5.2.0 has been ported to TypeScript, which allowed us to improve the type-safety of the plugin. In the 6.0.0 release of the ESLint plugin, the compiler lint rule has now been merged in. If you were previously using `eslint-plugin-react-compiler`, this means you can now use a single ESLint plugin in your codebase. Many thanks to [@michaelfaith](https://bsky.app/profile/michael.faith) for contributing to this improvement!
74+
`eslint-plugin-react-hooks` 5.2.0 has been ported to TypeScript, which allowed us to improve the type-safety of the plugin. In the 6.0.0-rc.1 release of the ESLint plugin, the compiler lint rule has now been merged in. If you were previously using `eslint-plugin-react-compiler`, this means you can now use a single ESLint plugin in your codebase. Many thanks to [@michaelfaith](https://bsky.app/profile/michael.faith) for contributing to this improvement!
7575

7676
```js
7777
// eslint.config.js

0 commit comments

Comments
 (0)
close