toast notification
A small message that appears briefly at the edge of the screen, such as "Could not save, please try again".
In more detail
Toasts suit feedback that should not block the user, such as confirming a save or reporting a failure. They disappear on their own after a few seconds.
Related terms
- optimistic UI — Updating the screen immediately as if an action succeeded, before the server confirms it, and undoing the change if it fails.
- rollback — Returning a system to a previous known-good version after a bad change.
Taught in
- Optimistic UI: useOptimistic Rollbacks & Transitions — Next.js 15 & Modern App Router Architecture