4 ms·
... for pages! Modals are often fine for dialogs and fleeting interactions that happen within the context of the page you are on. Those often don't need their
by micheljansen 3y ago
... for pages!
Modals are often fine for dialogs and fleeting interactions that happen within the context of the page you are on. Those often don't need their own URL. Don't need to persist after a page refresh, shouldn't be shared, confusingly pollute browser history and benefit from instant loading.
I mostly agree with the author in their examples. If it walks like a page and it talks like a page, it probably should be a page. No need to throw the baby out with the bathwater otherwise.
- gwbas1c 3y agoFrom TFA: > Modal windows can be used for views that don't constitute a "resource" or correspond to a domain entity: - Alerts - Confirmation dialogs - Forms for creating/updating entities