lesson 2 finished

This commit is contained in:
andres
2023-06-02 22:00:45 +02:00
parent c80f5c4b42
commit 70bdba4312
14 changed files with 190 additions and 67 deletions

View File

@@ -1,27 +1,7 @@
# vite-template-redux
### typescript magic:
Uses [Vite](https://vitejs.dev/), [Vitest](https://vitest.dev/), and [React Testing Library](https://github.com/testing-library/react-testing-library) to create a modern [React](https://react.dev/) app compatible with [Create React App](https://create-react-app.dev/)
![img.png](img.png)
```sh
npx degit reduxjs/redux-templates/packages/vite-template-redux my-app
```
![img_1.png](img_1.png)
## Goals
- Easy migration from Create React App or Vite
- As beginner friendly as Create React App
- Optimized performance compared to Create React App
- Customizable without ejecting
## Scripts
- `dev`/`start` - start dev server and open browser
- `build` - build for production
- `preview` - locally preview production build
- `test` - launch test runner
## Inspiration
- [Create React App](https://github.com/facebook/create-react-app/tree/main/packages/cra-template)
- [Vite](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react)
- [Vitest](https://github.com/vitest-dev/vitest/tree/main/examples/react-testing-lib)
![img_2.png](img_2.png)