Replies: 1 comment 7 replies
-
Wow. I did not know that doc.deno.land was build using Nano JSX. What you did with solidjs is also totally possible with Nano JSX. |
Beta Was this translation helpful? Give feedback.
7 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Nowadays SSR is being made with async rendering which is a way rendering a page on the server waiting for data to come or finish the page logic & generate HTML, but this can inefficient & blocking because if a data latency is high or if a data to render is huge it's not good to wait to send static files & render static parts.
So There is a mechanism called HTML streaming which allows to render as we fetch a data means we don't need to block rendering waiting for a response from an API, we can start rendering the static parts & show loading spinner for dynamic data.
To see it in action test these web site that is built with solid.js, just open it, go to dev tools & set network throttlling.
https://hackernews.ryansolid.workers.dev/
https://github.com/solidjs/solid-start/tree/main/examples/hackernews-ts
I like to say that you are nanojsx is really awesome. See how fast the Deno docs site is which is built with Nanossr.
https://pagespeed.web.dev/report?url=https%3A%2F%2Fdoc.deno.land%2F
Beta Was this translation helpful? Give feedback.
All reactions