-
-
Notifications
You must be signed in to change notification settings - Fork 2k
skip comment nodes for placeChild #4128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
📊 Tachometer Benchmark ResultsSummaryduration
usedJSHeapSize
Results02_replace1k
duration
usedJSHeapSize
run-warmup-0
run-warmup-1
run-warmup-2
run-warmup-3
run-warmup-4
run-final
03_update10th1k_x16
duration
usedJSHeapSize
07_create10k
duration
usedJSHeapSize
filter_list
duration
usedJSHeapSize
hydrate1k
duration
usedJSHeapSize
many_updates
duration
usedJSHeapSize
text_update
duration
usedJSHeapSize
todo
duration
usedJSHeapSize
|
|
Size Change: +92 B (0%) Total Size: 59.7 kB
ℹ️ View Unchanged
|
marvinhagemeister
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excited to have this!
|
@marvinhagemeister will this benefit fresh, I haven't really been able to find good testbeds for the streaming renderer however I can merge this if it already benefits yall |
e866710 to
857ba60
Compare
|
CC @andrewiggins I rebased this to work with your changes, would love a double check from your side Also not sure whether it's worth to pursue this if we're not going for the streaming renderer |
Supersedes #3771
Enables preactjs/preact-render-to-string#296
currently the comment-nodes that we use so our custom-element can attach the new dom in the right place gets removed during hydration and gets a few
insertBefore, ... You can try this branch out in a streaming renderer scenario bydemofolder in RTSnpm i/distintodemo/node_modules/preactnpm run devin RTS