Question · Next.js course · Module 9: Integrations and Advanced Features
Optimistic Updates in Server Actions
Which React hook allows immediately updating the UI before the server response in Server Actions?
Answer options
- useOptimistic
- useState
- useEffect
- useMemo
You can check the correct answer by solving this task in the CodeWorlds game.