
https://react.dev/reference/rsc/server-functions#server-functions-with-actions
- Shouldn't setError and setName need to be wrapped with a new startTransition?
- It seems meaningless to apply startTransition to await updateName in the document, doesn't it?
https://react.dev/reference/react/useTransition#react-doesnt-treat-my-state-update-after-await-as-a-transition