This is a practice application for creating single page applications using Vite, React and TypeScript.
The following changes are made to the template created by npm create vite@latest
.
- Changed file and directory structure.
- Stopped using CSS and changed to style definition by Emotion.
- Configured to use typescript's paths alias.
- Added unit test environment with Jest.
- Added multilingual support by i18next.
- Added eslint.
- Added routing by react-router.
- Added custom Hooks and introduced @testing-library/react-hooks.
- Added E2E testing by playwright.
- Added other sample codes.
- Sample using react-router v6 to check before page transition and possibly cancel the page transition.
MIT