News for hackers. Stuff that matters.
Re:Htmx Is the Future by koromak on Friday May 05, 2023 @01:52PM (#35832781)
My app would crash and burn without optimistic UI. For simple CRUD applications sure, but most products these days aren't CRUD apps anymore.
Re:Htmx Is the Future by jonomacd on Friday May 05, 2023 @02:57PM (#35833698)
You can make use of htmx-indicator to show that the request is ongoing. From my perspective you have to be careful here. If you are _too_ optimistic and imply a request has been successfully sent to the DB when it really hasn't then users are not going to like that as their requests disappear.