Patch Changes
-
refactor: code clean (#897)
rename many internal apis to make logic be clear:
multi-thread: startMainWorker -> prepareMainThreadAPIs -> startMainThread -> createMainThreadContext(new MainThreadRuntime)
all-on-ui: prepareMainThreadAPIs -> startMainThread -> createMainThreadContext(new MainThreadRuntime) -
feat: support to dump ssrEncode string (#876)
-
perf: improve dom operation performance (#881)
- code clean for offscreen-document, cut down inheritance levels
- add
appendChild
method for OffscreenElement, improve performance for append one node - bypass some JS getter for dumping SSR string
-
feat: dump dehydrate string with shadow root template (#838)