React 19 Actions in Next.js
- Server
- Browser
Add a note. It shows up at once as sending…, the button reads Adding… while the Server Function runs (it waits 1.5 s), and the note turns saved, with the server's time, when the answer arrives.
Add a note. It shows up at once as sending…, the button reads Adding… while the Server Function runs (it waits 1.5 s), and the note turns saved, with the server's time, when the answer arrives.