kv-netflix/frontend-react
vndangkhoa 69308bf696 v3.9.2: Fix Android TV OOM crash + backend Content-Type headers
- Backend: Add Content-Type: application/json to all JSON API endpoints
- Android TV: Reduce HomeViewModel memory usage (load 4 categories only, limit 15 items each)
- Android TV: Prevent OOM kill on TV devices with limited RAM
- Updated APK, docker-compose, health endpoint to v3.9.2
2026-03-01 11:34:51 +07:00
..
public v3.9.2: Fix Android TV OOM crash + backend Content-Type headers 2026-03-01 11:34:51 +07:00
src v3.9.2: Fix Android TV OOM crash + backend Content-Type headers 2026-03-01 11:34:51 +07:00
.gitignore Refactor: Full migration to Go backend and React TV-style frontend 2026-02-01 18:40:56 +07:00
eslint.config.js Refactor: Full migration to Go backend and React TV-style frontend 2026-02-01 18:40:56 +07:00
index.html Deploy v3.7: Fix duplicate episodes & update Android TV app 2026-02-17 14:10:02 +07:00
lint_full.txt Deploy v3.7: Fix duplicate episodes & update Android TV app 2026-02-17 14:10:02 +07:00
lint_output.txt Deploy v3.7: Fix duplicate episodes & update Android TV app 2026-02-17 14:10:02 +07:00
package-lock.json Refactor: Clean up codebase and improve project structure 2026-02-18 19:00:22 +07:00
package.json Refactor: Clean up codebase and improve project structure 2026-02-18 19:00:22 +07:00
postcss.config.js v3.9.2: Fix Android TV OOM crash + backend Content-Type headers 2026-03-01 11:34:51 +07:00
README.md Refactor: Full migration to Go backend and React TV-style frontend 2026-02-01 18:40:56 +07:00
tailwind.config.js v3.9.2: Fix Android TV OOM crash + backend Content-Type headers 2026-03-01 11:34:51 +07:00
tsconfig.app.json Refactor: Full migration to Go backend and React TV-style frontend 2026-02-01 18:40:56 +07:00
tsconfig.json Refactor: Full migration to Go backend and React TV-style frontend 2026-02-01 18:40:56 +07:00
tsconfig.node.json Refactor: Full migration to Go backend and React TV-style frontend 2026-02-01 18:40:56 +07:00
vite.config.ts Release v3.7: Codebase cleanup and security improvements 2026-02-18 19:12:47 +07: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...
    },
  },
])