785 MB
7,528 files
Updated 3 months ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| dist | 40 items | ||
| node_modules | 6,124 items | ||
| public | 37 items | ||
| src | 34 items | ||
| .DS_Store | 6.15 kB xet | a6b6a511 | |
| .gitignore | 253 Bytes xet | bc4785e4 | |
| .nvmrc | 3 Bytes xet | ab215c8a | |
| .oxlintrc.json | 245 Bytes xet | 6bd2069c | |
| README.md | 1.28 kB xet | dbad446f | |
| grading.log | 142 Bytes xet | 91b1d5f2 | |
| index.html | 402 Bytes xet | 6f96ea90 | |
| package-lock.json | 67.4 kB xet | 61361e03 | |
| package.json | 810 Bytes xet | a6f1e56e | |
| tsconfig.app.json | 655 Bytes xet | 9676fc08 | |
| tsconfig.json | 119 Bytes xet | bea47608 | |
| tsconfig.node.json | 558 Bytes xet | f2d5fe9f | |
| vite.config.ts | 257 Bytes xet | bcd8dc3d |
React + TypeScript + 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 uses Oxc
- @vitejs/plugin-react-swc uses SWC
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.
Expanding the Oxlint configuration
If you are developing a production application, we recommend enabling type-aware lint rules by installing oxlint-tsgolint and editing .oxlintrc.json:
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["react", "typescript", "oxc"],
"options": {
"typeAware": true
},
"rules": {
"react/rules-of-hooks": "error",
"react/only-export-components": ["warn", { "allowConstantExport": true }]
}
}
See the Oxlint rules documentation for the full list of rules and categories.
- Total size
- 785 MB
- Files
- 7,528
- Last updated
- Sep 12
- Pre-warmed CDN
- US EU US EU