Skip to content

Commit 8d8e361

Browse files
authoredAug 31, 2022
update README.md
1 parent 75cb6e4 commit 8d8e361

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ All this is built on top of Vite which is where most people seem to be these day
4242

4343
## What's next?
4444

45-
Currently the loading of the client JS is one shot and hydrates the whole DOM tree. The example client bundle is currently only ~25 KiB unzipped with components and Lit framework with SSR support (and ~8.77 KiB gzipped). But an application in real life can keep growing to a point where it can be very bad for performance to do it one shot. It would be a separate exercise to progressively hydrate it - though Web components make it easier to do such things given its clearly defined encapsulation and interfaces between components.
45+
Currently the loading of the client JS is one shot and hydrates the whole DOM tree. The example client bundle is currently only ~25 KiB unzipped with components and Lit framework with SSR support (and ~8.77 KiB gzipped). But an application in real life can keep growing to a point where it can be very bad for performance to do it in one shot. It would be a separate exercise to progressively hydrate it - though Web components do make it easier to do such things, given its clearly defined encapsulation and interfaces.
4646

47-
HMR with SSR currently reloads the whole page. Can we reload just the component code. It can pick up where the older components left off (It should all be serializable in the DOM anyway).
47+
HMR with SSR currently reloads the whole page. Can we reload just the component code? It can pick up where the older components left off (It should all be serializable in the DOM anyway).
4848

4949
It would also be cool to support different frameworks other than Lit that output web components - Stencil, Angular, Vue, Svelte etc.
5050

0 commit comments

Comments
 (0)
Please sign in to comment.