summaryrefslogtreecommitdiff
path: root/react/03-clean/README.md
diff options
context:
space:
mode:
authorKamal Wickramanayake <kamal@inbox.lk>2026-06-27 21:01:12 +0530
committerKamal Wickramanayake <kamal@inbox.lk>2026-06-27 21:01:12 +0530
commit29b898049d5322a5833b95d55f1d1a9e7dd94eaf (patch)
tree96c0f2ca54470a05c7831b621941f87e4c2849f7 /react/03-clean/README.md
parent54531d0087ec3c0982e8589e88f0981a0939764b (diff)
Added react/03-clean sample project
Diffstat (limited to 'react/03-clean/README.md')
-rw-r--r--react/03-clean/README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/react/03-clean/README.md b/react/03-clean/README.md
new file mode 100644
index 0000000..d937833
--- /dev/null
+++ b/react/03-clean/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.