feat: make hydration more robust

This commit is contained in:
Jonathan Kelley committed 2022-01-07 00:33:09 -05:00
1 parent 4aadec1e30
commit bbb6ee10de
9 files changed
+354 -77

No files matched your search

-5
View File
@@ -234,10 +234,6 @@ class Interpreter {
this.stack.push(node);
}
PopRoot(_edit) {
this.stack.pop();
}
AppendChildren(edit) {
let root = this.stack[this.stack.length - (1 + edit.many)];
@@ -407,7 +403,6 @@ class Interpreter {
function main() {
let root = window.document.getElementById("main");
window.interpreter = new Interpreter(root);
console.log(window.interpreter);
rpc.call("initialize");
}