Next.js Discord

Discord Forum

useOptimistic: addOptimisticTodo and removeOptimisticTodo (and updateOptimisticTodo)

Unanswered
Tan posted this in #help-forum
Open in Discord
TanOP
Hi I saw this tutorial: https://youtu.be/RadgkoJrhu0?si=PDWw6N7YWRKAUCIF&t=1418 and I was wondering how can I do the same for removeOptimisticTodo from Todo[]? Can you point me to the right direction?

1 Reply

TanOP
actually it was a stupid question 🙃.