3 ms·
I wonder if it slow because of the locking, because other than that it shouldn't use much resources to run this. Anyway I am lazy, so I would probably just use
by quickthrower2 3y ago
I wonder if it slow because of the locking, because other than that it shouldn't use much resources to run this.
Anyway I am lazy, so I would probably just use HTMX boosting:
<div hx-boost="true">
// traditional code goes here
</div>
- realrocker 3y agoIts locking and the state is shared. Didn’t expect a lot of interest for this or I would have built a better demo :) htmx is great!
- mcspiff 3y agoIs there a tl;dr on why I’d want to boost? Vs say normal browser behaviour
- quickthrower2 3y agoSo that the things that change only appear to update, not a flash of the entire screen. If the request is slow, this makes a bigger difference of course.