Open seanwu1105 opened 9 months ago
Create a markup UI for the todo list.
e.g. useState()
It's not necessary but it might be helpful to know the high-level concept of useSyncExternalStore and see why it can replace your useEffect for localStorage.setItem.
useSyncExternalStore
useEffect
localStorage.setItem
Create a markup UI for the todo list.
e.g. useState()
should be good enough)