Hacker News new | ask | show | jobs
by quickthrower2 1140 days 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>
2 comments

Its 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!

Is there a tl;dr on why I’d want to boost? Vs say normal browser behaviour
So 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.