Support live reloading browser DOM UI modifications #83
RobertCraigie
started this conversation in
Feature requests / ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
It's surprising that a snippet like this
will result in the
<style>element being created every time:config_reloadis ran.we should keep track of any modifications to the browser
Documentfrom the config and try to revert them when the config is reloaded.however this will be quite tricky to get fully correct, and I'm not quite sure what to about potential memory usage increases, as if you frequently modify the UI, then we'd keep collecting mutations to reverse and build up a large array...
there's maybe a solution here where we can slice out (contiguous only?) redundant modifications, e.g.
[add <a>, update <a>, delete <a>, add <span>]could be transformed to just[add <span>], as the first three entries are redundant.All reactions