Objective:
This project is a small exercise to become familiar with TypeScript in React. Some key learnings include:
- Defining types for props (state, actions, etc.).
- Defining types for state and refs.
- Defining types for various events as parameters of functions.
- Using definition files (.d.ts) for packages (e.g., drag-and-drop, fonts) and assigning types according to the definitions.
Description:
This is a todo application where users can perform the following actions:
- Add, edit, and delete tasks.
- Drag and drop or manually move tasks between the "active" and "complete" states.
Steps to run:
- npm install
- npm start
A brief demo is shown in the video below.