No description
  • TypeScript 98.5%
  • CSS 0.7%
  • JavaScript 0.5%
  • HTML 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-04 16:02:56 +00:00
.devcontainer chore: switch API port to 5167 and add Claude Code to devcontainer extensions 2026-10-29 18:43:58 +00:00
public update: Baikonur is a region of Kazakhstan 2026-10-19 14:13:40 +00:00
src chore: remove the comments added by the SignalR transition 2026-11-04 16:08:03 +01:00
.gitignore dev container is operationnal 2026-07-28 11:11:50 +00:00
eslint.config.js dev container is operationnal 2026-07-28 11:11:50 +00:00
index.html update: the interface fits phone screens 2026-10-19 09:29:03 +00:00
package-lock.json feat: new package i8next 2026-10-07 10:29:35 +02:00
package.json feat: new package i8next 2026-10-07 10:29:35 +02:00
README.md dev container is operationnal 2026-07-28 11:11:50 +00:00
tsconfig.app.json dev container is operationnal 2026-07-28 11:11:50 +00:00
tsconfig.json dev container is operationnal 2026-07-28 11:11:50 +00:00
tsconfig.node.json dev container is operationnal 2026-07-28 11:11:50 +00:00
vite.config.ts chore: remove the comments added by the SignalR transition 2026-11-04 16:08:03 +01:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

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 ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])