Todo app isn't done if you can't mark a task as done!
For that, we will need to do two things:
- Implement Wasp action that updates the task.
- Modify our React code so it calls that action.
We declare Wasp action:
We define JS implementation of Wasp action in
And we update the React component:
Awesome! We can now tick this task as done ;).