diff options
| author | Kamal Wickramanayake <kamal@inbox.lk> | 2026-06-27 22:14:56 +0530 |
|---|---|---|
| committer | Kamal Wickramanayake <kamal@inbox.lk> | 2026-06-27 22:14:56 +0530 |
| commit | 5ed431db2c4a45b35fe1ab9e6d8a69ca62bbbeb5 (patch) | |
| tree | 3720d8b9e2eaa215383e69e21e2b8f27d31d23d0 /react/04-components/README.md | |
| parent | 29b898049d5322a5833b95d55f1d1a9e7dd94eaf (diff) | |
Added react/04-components sample project
Diffstat (limited to 'react/04-components/README.md')
| -rw-r--r-- | react/04-components/README.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/react/04-components/README.md b/react/04-components/README.md new file mode 100644 index 0000000..d937833 --- /dev/null +++ b/react/04-components/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. |
