Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/content/community/conferences.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@

[Website](https://conf.zurichjs.com?utm_campaign=ZurichJS_Conf&utm_source=referral&utm_content=reactjs_community_conferences) - [Twitter](https://x.com/zurichjs) - [LinkedIn](https://www.linkedin.com/company/zurichjs/)

### React Conf Japan 2027 {/*react-conf-japan-2027*/}
April 24, 2027. In-person in Tokyo, Japan

Check failure on line 28 in src/content/community/conferences.md

View workflow job for this annotation

GitHub Actions / Lint

Double spaces are not allowed except for leading and trailing spaces

[Website](https://reactconf.jp/) - [Twitter](https://x.com/reactconfjp)

## Past Conferences {/*past-conferences*/}

### CityJS New Delhi 2026 {/*cityjs-newdelhi-2026*/}
Expand Down
46 changes: 36 additions & 10 deletions src/content/learn/react-compiler/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,36 @@

### Vite {/*vite*/}

<<<<<<< HEAD

Check failure on line 67 in src/content/learn/react-compiler/installation.md

View workflow job for this annotation

GitHub Actions / Lint

Git conflict marker `<<<<<<<` is not allowed
Vite를 사용하는 경우 `vite-plugin-react`에 플러그인을 추가할 수 있습니다.
=======

Check failure on line 69 in src/content/learn/react-compiler/installation.md

View workflow job for this annotation

GitHub Actions / Lint

Git conflict marker `=======` is not allowed
If you use Vite with version 6.0.0 or later of `@vitejs/plugin-react`, you can use the `reactCompilerPreset`:
>>>>>>> 8bb31acb86bf68fa33d97dd0f1b834dfa71e2b1a

Check failure on line 71 in src/content/learn/react-compiler/installation.md

View workflow job for this annotation

GitHub Actions / Lint

Git conflict marker `>>>>>>>` is not allowed

```js {3,9}
<TerminalBlock>
npm install -D @rolldown/plugin-babel
</TerminalBlock>

```js {3-4,9-11}
// vite.config.js
import { defineConfig } from 'vite';
import react, { reactCompilerPreset } from '@vitejs/plugin-react';
import babel from '@rolldown/plugin-babel';

export default defineConfig({
plugins: [
react(),
babel({
presets: [reactCompilerPreset()]
}),
],
});
```

<Note>
In `@vitejs/plugin-react@6.0.0`, the inline Babel option was removed. If you're using an older version, you can use:

```js
// vite.config.js
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
Expand All @@ -81,26 +108,25 @@
],
});
```
</Note>

<<<<<<< HEAD

Check failure on line 113 in src/content/learn/react-compiler/installation.md

View workflow job for this annotation

GitHub Actions / Lint

Git conflict marker `<<<<<<<` is not allowed
또는 Vite용 별도의 Babel 플러그인을 선호하는 경우
=======

Check failure on line 115 in src/content/learn/react-compiler/installation.md

View workflow job for this annotation

GitHub Actions / Lint

Git conflict marker `=======` is not allowed
Alternatively, you can use the Babel plugin directly with `@rolldown/plugin-babel`:
>>>>>>> 8bb31acb86bf68fa33d97dd0f1b834dfa71e2b1a

Check failure on line 117 in src/content/learn/react-compiler/installation.md

View workflow job for this annotation

GitHub Actions / Lint

Git conflict marker `>>>>>>>` is not allowed

<TerminalBlock>
npm install -D vite-plugin-babel
</TerminalBlock>

```js {2,11}
```js {3,9}
// vite.config.js
import babel from 'vite-plugin-babel';
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import babel from '@rolldown/plugin-babel';

export default defineConfig({
plugins: [
react(),
babel({
babelConfig: {
plugins: ['babel-plugin-react-compiler'],
},
plugins: ['babel-plugin-react-compiler'],
}),
],
});
Expand Down
Loading
Loading