This TicTacToe game is a simple sandbox project for experimenting with Preact. It's written in TypeScript and includes custom react hooks, context, and state management. An atomic-design approach is used to organize TSX files and minimal CSS is added to each component.
This project was bootstrapped with Preact using the typescript template.
In the project directory, you can run:
npm install
: Installs dependenciesnpm run dev
: Run a development, HMR servernpm run serve
: Run a production-like servernpm run build
: Production-ready buildnpm run lint
: Pass TypeScript files using TSLintnpm run test
: Run Jest and Enzyme