ts-react-example
React components written in TypeScript. An intentional mix of good old javascript with TypeScript with unit and visual regression tests.
What's included?
- TypeScript mixed with javascript (ES6)
- JSX in TS (.tsx)
- postcss with typings
- mocha with TS support
- eslint with TS support
- @vrt/react
- HMR
Try it!
Clone it and install dependencies with npm i.
Run app with npm run dev and open localhost:8081.
Generate screenshots with npx vrt
Run tests with npm t.
License
MIT
On this page
Languages
JavaScript65.1%TypeScript20.7%CSS11.4%HTML2.9%
Contributors
Created January 16, 2019
Updated March 10, 2023