This is the fifth version of my Todo Application.
I'll be streaming most of my progress at https://www.twitch.tv/teeang.
Test-Driven Development, TypeScript, Next.js, React, TailwindCSS, Jest, React Query, React Testing Library & Mock Service Worker
Note: I haven't decided yet if I want to build a backend for this application.
$ npm run dev
Open http://localhost:3000 with your browser to see the Next.js application.
$ npm run test
# or tests in watch mode
$ npm run test:watch
- Delete todo with optimistic rendering.
- Write a smoke test to see if the component renders
- Identify a behaviour
- Write the full test for the behaviour
- Add implementation so that my test passes
- Refactor as much as possible
- If the surface area is large, I will decompose my changes into smaller commits using
$ git stash
It would be good to see how this process evolves over time.