>Instead of doing things like eagerly updating client side state (deleting an item -> removing it from your in-memory array), let the server tell you after it's processed and updated its state.
So this literally what htmx does, no?
Except You'd be operating on framework-sourced components rather then built in html structures.
And the swapping itself would be performed by frameworks code rather then htmx library.
Is that what you mean?
If so then sure, I get that it would be cleaner then with htmx, but logic is the same and htmx simply let's you expand this logic for core html elements, rather then having to remake all of them into frameworks components that can handle the partial updating.