HIGH-1: remove max-idle-time from hysteria2 form + set() HIGH-2: remove handshake-timeout from hysteria2 form + set() (kept for sudoku) MEDIUM-1: narrow UDP_PROTOCOLS to ['shadowsocks', 'snell'] — vmess/vless/trojan udp toggle was dead (backend compile_modules.go strips it) MEDIUM-2: add 5 R-M4 grpc-opts client-metadata Form.Items (grpc-user-agent, ping-interval, max-connections, min-streams, max-streams) on vmess/vless/trojan, with formValuesToConfig set() and configToFormValues reads MEDIUM-3: add 2 R-M3 mekya-config client-metadata Form.Items (polling-interval-initial, h2-pool-size) on vmess, with mekya-config builder/reader fields i18n: add 7 new keys + 6 hints to en.ts and zh.ts listeners section Lint PASS (0 errors, 33 pre-existing fast-refresh warnings) Build PASS (tsc -b + vite build OK) fix(frontend): align listener config form with backend schema (hy2 fields + grpc-opts/mekya inputs) HIGH-1: remove max-idle-time from hysteria2 form + set() HIGH-2: remove handshake-timeout from hysteria2 form + set() (kept for sudoku) MEDIUM-1: narrow UDP_PROTOCOLS to ['shadowsocks', 'snell'] — vmess/vless/trojan udp toggle was dead (backend compile_modules.go strips it) MEDIUM-2: add 5 R-M4 grpc-opts client-metadata Form.Items (grpc-user-agent, ping-interval, max-connections, min-streams, max-streams) on vmess/vless/trojan, with formValuesToConfig set() and configToFormValues reads MEDIUM-3: add 2 R-M3 mekya-config client-metadata Form.Items (polling-interval-initial, h2-pool-size) on vmess, with mekya-config builder/reader fields i18n: add 7 new keys + 6 hints to en.ts and zh.ts listeners section Lint PASS (0 errors, 33 pre-existing fast-refresh warnings) Build PASS (tsc -b + vite build OK) fix(frontend): align listener config form with backend schema (hy2 fields + grpc-opts/mekya inputs) HIGH-1: remove max-idle-time from hysteria2 form + set() HIGH-2: remove handshake-timeout from hysteria2 form + set() (kept for sudoku) MEDIUM-1: narrow UDP_PROTOCOLS to ['shadowsocks', 'snell'] — vmess/vless/trojan udp toggle was dead (backend compile_modules.go strips it) MEDIUM-2: add 5 R-M4 grpc-opts client-metadata Form.Items (grpc-user-agent, ping-interval, max-connections, min-streams, max-streams) on vmess/vless/trojan, with formValuesToConfig set() and configToFormValues reads MEDIUM-3: add 2 R-M3 mekya-config client-metadata Form.Items (polling-interval-initial, h2-pool-size) on vmess, with mekya-config builder/reader fields i18n: add 7 new keys + 6 hints to en.ts and zh.ts listeners section Lint PASS (0 errors, 33 pre-existing fast-refresh warnings) Build PASS (tsc -b + vite build OK) fix(frontend): align listener config form with backend schema (hy2 fields + grpc-opts/mekya inputs) HIGH-1: remove max-idle-time from hysteria2 form + set() HIGH-2: remove handshake-timeout from hysteria2 form + set() (kept for sudoku) MEDIUM-1: narrow UDP_PROTOCOLS to ['shadowsocks', 'snell'] — vmess/vless/trojan udp toggle was dead (backend compile_modules.go strips it) MEDIUM-2: add 5 R-M4 grpc-opts client-metadata Form.Items (grpc-user-agent, ping-interval, max-connections, min-streams, max-streams) on vmess/vless/trojan, with formValuesToConfig set() and configToFormValues reads MEDIUM-3: add 2 R-M3 mekya-config client-metadata Form.Items (polling-interval-initial, h2-pool-size) on vmess, with mekya-config builder/reader fields i18n: add 7 new keys + 6 hints to en.ts and zh.ts listeners section Lint PASS (0 errors, 33 pre-existing fast-refresh warnings) Build PASS (tsc -b + vite build OK) fix(frontend): align listener config form with backend schema (hy2 fields + grpc-opts/mekya inputs) HIGH-1: remove max-idle-time from hysteria2 form + set() HIGH-2: remove handshake-timeout from hysteria2 form + set() (kept for sudoku) MEDIUM-1: narrow UDP_PROTOCOLS to ['shadowsocks', 'snell'] — vmess/vless/trojan udp toggle was dead (backend compile_modules.go strips it) MEDIUM-2: add 5 R-M4 grpc-opts client-metadata Form.Items (grpc-user-agent, ping-interval, max-connections, min-streams, max-streams) on vmess/vless/trojan, with formValuesToConfig set() and configToFormValues reads MEDIUM-3: add 2 R-M3 mekya-config client-metadata Form.Items (polling-interval-initial, h2-pool-size) on vmess, with mekya-config builder/reader fields i18n: add 7 new keys + 6 hints to en.ts and zh.ts listeners section Lint PASS (0 errors, 33 pre-existing fast-refresh warnings) Build PASS (tsc -b + vite build OK) fix(frontend): align listener config form with backend schema (hy2 fields + grpc-opts/mekya inputs) HIGH-1: remove max-idle-time from hysteria2 form + set() HIGH-2: remove handshake-timeout from hysteria2 form + set() (kept for sudoku) MEDIUM-1: narrow UDP_PROTOCOLS to ['shadowsocks', 'snell'] — vmess/vless/trojan udp toggle was dead (backend compile_modules.go strips it) MEDIUM-2: add 5 R-M4 grpc-opts client-metadata Form.Items (grpc-user-agent, ping-interval, max-connections, min-streams, max-streams) on vmess/vless/trojan, with formValuesToConfig set() and configToFormValues reads MEDIUM-3: add 2 R-M3 mekya-config client-metadata Form.Items (polling-interval-initial, h2-pool-size) on vmess, with mekya-config builder/reader fields i18n: add 7 new keys + 6 hints to en.ts and zh.ts listeners section Lint PASS (0 errors, 33 pre-existing fast-refresh warnings) Build PASS (tsc -b + vite build OK) fix(frontend): align listener config form with backend schema (hy2 fields + grpc-opts/mekya inputs) HIGH-1: remove max-idle-time from hysteria2 form + set() HIGH-2: remove handshake-timeout from hysteria2 form + set() (kept for sudoku) MEDIUM-1: narrow UDP_PROTOCOLS to ['shadowsocks', 'snell'] — vmess/vless/trojan udp toggle was dead (backend compile_modules.go strips it) MEDIUM-2: add 5 R-M4 grpc-opts client-metadata Form.Items (grpc-user-agent, ping-interval, max-connections, min-streams, max-streams) on vmess/vless/trojan, with formValuesToConfig set() and configToFormValues reads MEDIUM-3: add 2 R-M3 mekya-config client-metadata Form.Items (polling-interval-initial, h2-pool-size) on vmess, with mekya-config builder/reader fields i18n: add 7 new keys + 6 hints to en.ts and zh.ts listeners section Lint PASS (0 errors, 33 pre-existing fast-refresh warnings) Build PASS (tsc -b + vite build OK) fix(frontend): align listener config form with backend schema (hy2 fields + grpc-opts/mekya inputs) HIGH-1: remove max-idle-time from hysteria2 form + set() HIGH-2: remove handshake-timeout from hysteria2 form + set() (kept for sudoku) MEDIUM-1: narrow UDP_PROTOCOLS to ['shadowsocks', 'snell'] — vmess/vless/trojan udp toggle was dead (backend compile_modules.go strips it) MEDIUM-2: add 5 R-M4 grpc-opts client-metadata Form.Items (grpc-user-agent, ping-interval, max-connections, min-streams, max-streams) on vmess/vless/trojan, with formValuesToConfig set() and configToFormValues reads MEDIUM-3: add 2 R-M3 mekya-config client-metadata Form.Items (polling-interval-initial, h2-pool-size) on vmess, with mekya-config builder/reader fields i18n: add 7 new keys + 6 hints to en.ts and zh.ts listeners section Lint PASS (0 errors, 33 pre-existing fast-refresh warnings) Build PASS (tsc -b + vite build OK) fix(frontend): align listener config form with backend schema (hy2 fields + grpc-opts/mekya inputs) HIGH-1: remove max-idle-time from hysteria2 form + set() HIGH-2: remove handshake-timeout from hysteria2 form + set() (kept for sudoku) MEDIUM-1: narrow UDP_PROTOCOLS to ['shadowsocks', 'snell'] — vmess/vless/trojan udp toggle was dead (backend compile_modules.go strips it) MEDIUM-2: add 5 R-M4 grpc-opts client-metadata Form.Items (grpc-user-agent, ping-interval, max-connections, min-streams, max-streams) on vmess/vless/trojan, with formValuesToConfig set() and configToFormValues reads MEDIUM-3: add 2 R-M3 mekya-config client-metadata Form.Items (polling-interval-initial, h2-pool-size) on vmess, with mekya-config builder/reader fields i18n: add 7 new keys + 6 hints to en.ts and zh.ts listeners section Lint PASS (0 errors, 33 pre-existing fast-refresh warnings) Build PASS (tsc -b + vite build OK) fix(frontend): align listener config form with backend schema (hy2 fields + grpc-opts/mekya inputs) HIGH-1: remove max-idle-time from hysteria2 form + set() HIGH-2: remove handshake-timeout from hysteria2 form + set() (kept for sudoku) MEDIUM-1: narrow UDP_PROTOCOLS to ['shadowsocks', 'snell'] — vmess/vless/trojan udp toggle was dead (backend compile_modules.go strips it) MEDIUM-2: add 5 R-M4 grpc-opts client-metadata Form.Items (grpc-user-agent, ping-interval, max-connections, min-streams, max-streams) on vmess/vless/trojan, with formValuesToConfig set() and configToFormValues reads MEDIUM-3: add 2 R-M3 mekya-config client-metadata Form.Items (polling-interval-initial, h2-pool-size) on vmess, with mekya-config builder/reader fields i18n: add 7 new keys + 6 hints to en.ts and zh.ts listeners section Lint PASS (0 errors, 33 pre-existing fast-refresh warnings) Build PASS (tsc -b + vite build OK) fix(frontend): align listener config form with backend schema (hy2 fields + grpc-opts/mekya inputs) HIGH-1: remove max-idle-time from hysteria2 form + set() HIGH-2: remove handshake-timeout from hysteria2 form + set() (kept for sudoku) MEDIUM-1: narrow UDP_PROTOCOLS to ['shadowsocks', 'snell'] — vmess/vless/trojan udp toggle was dead (backend compile_modules.go strips it) MEDIUM-2: add 5 R-M4 grpc-opts client-metadata Form.Items (grpc-user-agent, ping-interval, max-connections, min-streams, max-streams) on vmess/vless/trojan, with formValuesToConfig set() and configToFormValues reads MEDIUM-3: add 2 R-M3 mekya-config client-metadata Form.Items (polling-interval-initial, h2-pool-size) on vmess, with mekya-config builder/reader fields i18n: add 7 new keys + 6 hints to en.ts and zh.ts listeners section Lint PASS (0 errors, 33 pre-existing fast-refresh warnings) Build PASS (tsc -b + vite build OK) fix(frontend): align listener config form with backend schema (hy2 fields + grpc-opts/mekya inputs) HIGH-1: remove max-idle-time from hysteria2 form + set() HIGH-2: remove handshake-timeout from hysteria2 form + set() (kept for sudoku) MEDIUM-1: narrow UDP_PROTOCOLS to ['shadowsocks', 'snell'] — vmess/vless/trojan udp toggle was dead (backend compile_modules.go strips it) MEDIUM-2: add 5 R-M4 grpc-opts client-metadata Form.Items (grpc-user-agent, ping-interval, max-connections, min-streams, max-streams) on vmess/vless/trojan, with formValuesToConfig set() and configToFormValues reads MEDIUM-3: add 2 R-M3 mekya-config client-metadata Form.Items (polling-interval-initial, h2-pool-size) on vmess, with mekya-config builder/reader fields i18n: add 7 new keys + 6 hints to en.ts and zh.ts listeners section Lint PASS (0 errors, 33 pre-existing fast-refresh warnings) Build PASS (tsc -b + vite build OK)
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.