isairey GitHub avatar

SISMEDICO-FRONTEND

isairey

A minimal Vite template for React with TypeScript, HMR, and ESLint configuration guidance.

Stars

4

7-day growth

No data

Forks

3

Open issues

0

License

MIT

Last updated

2026-07-30

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

Provides a lean starting point with official Vite React plugins and comprehensive ESLint configuration advice for production-grade projects.

Who it is for

  • React developers
  • TypeScript developers
  • developers seeking a minimal Vite setup
  • developers configuring ESLint for React projects

Use cases

  • Starting a new React project with Vite
  • Setting up TypeScript in a React environment
  • Configuring ESLint for type-aware linting
  • Adding React-specific lint rules

Strengths

  • Minimal and focused template
  • Hot Module Replacement (HMR) out of the box
  • Official Vite plugins for React (Oxc and SWC)
  • Detailed instructions for expanding ESLint to production standards

Considerations

  • React Compiler is not enabled by default due to performance impact
  • ESLint configuration requires manual updates for type-aware and React-specific rules

README quick start

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 opti

Related repositories

Similar projects matched by category, topics, and programming language.

react
Featured
react GitHub avatar

react

React is a JavaScript library for building user interfaces with declarative, component-based, and cross-platform design.

Web DevelopmentFrontend Frameworks
246,741
ddoemonn
ddoemonn GitHub avatar

interior

A collection of React micro-interaction components that handle the critical half-second after a click, with headless hooks for behavior and styled examples.

Web DevelopmentFrontend Frameworks
77
filipj9
filipj9 GitHub avatar

Hermes-Control-Deck

Hermes Control is a mobile-first PWA control deck that provides a unified event-driven interface for monitoring and operating Hermes WebUI and Codex CLI AI runtimes from a browser or phone.

AI & Machine LearningAI Skills & Prompts
35