kv-netflix/frontend-react
vndangkhoa 064377d7dd
Some checks failed
StreamFlow CI/CD / Backend Tests (push) Failing after 3s
StreamFlow CI/CD / Backend Lint (push) Failing after 2s
StreamFlow CI/CD / Frontend Tests (push) Failing after 2s
StreamFlow CI/CD / Docker Build (push) Has been skipped
StreamFlow CI/CD / Android TV Build (push) Failing after 1s
StreamFlow CI/CD / Docker Publish (push) Failing after 5s
build: Update Dockerfile for v6 and fix TypeScript errors
- Update Dockerfile to use linux/amd64 platform consistently
- Fix unused parameter warnings in Hero.tsx, MovieCard.tsx
- Fix useCallback import issues in useWatchProgress.ts
- Update docker-compose.yml to use v6 tag
- Update README.md with Synology NAS deployment instructions
- Add episode progress tracking documentation
2026-05-07 07:38:39 +07:00
..
public update android tv apk with production url 2026-03-02 07:34:15 +07:00
src build: Update Dockerfile for v6 and fix TypeScript errors 2026-05-07 07:38:39 +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
package-lock.json Release v4: Cleanup and refactoring 2026-03-03 07:55:27 +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...
    },
  },
])