Vanilla Live View exposes several utility commands that can be used to run local, optimistic changes when an even is about to be sent to the server.
To implement this we need to instrument the VDOM to emit local events which optimisitcally remove, mutate and insert elements. These will be valid until otherwise reverted by server side diffs.
Vanilla Live View exposes several utility commands that can be used to run local, optimistic changes when an even is about to be sent to the server.
To implement this we need to instrument the VDOM to emit local events which optimisitcally remove, mutate and insert elements. These will be valid until otherwise reverted by server side diffs.