How 100xdevs-cohort-3/week-17-ws-ping-pong works
Project type and purpose
• This is a front-end single-page application (SPA) template using React, TypeScript, and Vite.
• Purpose: provide a minimal dev workflow with HMR (Hot Module Replacement), ESLint rules, and fast builds.
File structure
• Top-level files:
• package.json/package-lock.json – dependency definitions and scripts
• vite.config.ts – Vite build/dev server configuration
• eslint.config.js – lint rules
• tsconfig*.json – TypeScript compiler configurations
• index.html – SPA entry point
• Directories:
• src – application source code
– App.tsx, main.tsx – React components and render entry
– assets – locally imported media
– CSS files – global and component styles
README for insights
• Confirms the stack: Vite dev server + React + TS + optional Babel/SWC for Fast Refresh
• Suggests ESLint type-aware configs for production readiness
Final advice
• Be as detailed as necessary: break out sub-components (ESLint, plugin-react, TypeScript) if it aids clarity.