Human Slice (Exercise)
Can you do the same for humans?
Humans should have:
- An id using
nanoid
- A name as a string
- An empty array of
taskIds
Tasting note: The UI will dispatch the action's payload as a string that ought to be used as the name—just like with the tasksSlice
.