Investigate if it's possible to get rid of the initial flash when branches are being restored #64
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm curious if it'd be possible to do it with Web Components. Spells are nice in theory, but that particular limitation is kind of annoying…
One potential difficulty I'm seeing is that scripts are loaded asynchronously along the tree, rather than synchronously before it. This is generally good, but it could make it impossible to get rid of the flash.
I'm not sure about compilation though. Maybe it's just the downloading that's asynchronous.
Right now it seems to me as though spells are run on DOMContentLoaded, which is precisely what I was trying to avoid with the whole
MutationObserver
dance. Annoying, annoying, annoying.