diff options
| author | Kamal Wickramanayake <kamal@inbox.lk> | 2026-06-27 20:12:36 +0530 |
|---|---|---|
| committer | Kamal Wickramanayake <kamal@inbox.lk> | 2026-06-27 20:12:36 +0530 |
| commit | 54531d0087ec3c0982e8589e88f0981a0939764b (patch) | |
| tree | 0a9f28938f986c28bc95b8caff2cd16dd8c26542 /react/02-vite/README.md | |
| parent | d678dd98e4ab9b45e3e941e9002054ef639d1cfb (diff) | |
react/02-vite sample project added
Diffstat (limited to 'react/02-vite/README.md')
| -rw-r--r-- | react/02-vite/README.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/react/02-vite/README.md b/react/02-vite/README.md new file mode 100644 index 0000000..d937833 --- /dev/null +++ b/react/02-vite/README.md @@ -0,0 +1,16 @@ +# React + Vite + +This template provides a minimal setup to get React working in Vite with HMR and some Oxlint rules. + +Currently, two official plugins are available: + +- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Oxc](https://oxc.rs) +- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) + +## React Compiler + +The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation). + +## Expanding the Oxlint configuration + +If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) for information on how to integrate TypeScript and Oxlint's TypeScript related rules in your project. |
