Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Toast are used for two reasons:

- An action has a destructive operation that you can't easily undo because the main button has disappeared (i.e: delete, reset, confirm a popup, etc.)

- Displaying a message would break the UI somehow (i.e: error message in a list, near a button in nav bar, in a tight UI, etc.)

I honestly don't feel like they are the best, and most of the time they are useless, but from time to time they are handy.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: