3 ms·
Service workers seems like overkill HTMX has pretty simple controls for pushing history state from either the client or the server for each request. Add the c
by wild_egg 2y ago
Service workers seems like overkill
HTMX has pretty simple controls for pushing history state from either the client or the server for each request.
Add the current page into the URL every time you load a new section and when someone hits 'back', they can be given exactly the same content as they had before
- rmbyrro 2y agoThat's one of the main problems I see in frontend development nowadays. Developers are taught to overkill everything. They implement things naively, admired of how "smart" their "solution" look, compared to a "dumb" browser. They shoot themselves in the foot all the time. Users suffer with bad UX. Projects move slowly and expensively. Everyone loses.