Simple todo example (View codesandbox)
The simplest example of react
and easy-peasy
.
This is a Vite + React + Typescript + Eslint + Prettier
example based on this template.
First, run the development server:
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying src/components/App.tsx
. The page auto-updates as you edit the file.
The easy-peasy
store & models are located in the src/store
folder.
The main.tsx
file wraps the <App />
component with the <StoreProvider>
, so all child components can access the
hooks exposed from the store/index.ts
.