The worst part is how easy it is to create giant bundles without realizing. You don't just download the code to render the page again, you also re-download all of the data used to render it, even if it's completely static.
-
-
Prikaži ovu nit
-
I just found a Gatsby page downloading an 11MB JS bundle containing all of the data for the entire site, because it was "used" to render a static list of links to other pages. There is no reason to re-render that client side.
Prikaži ovu nit -
What I really want is a way to render static content with interactive islands built with React. A documentation site with inline examples shouldn't force the whole site to re-render client side. I know the React team is working on partial hydration. It can't come soon enough!
Prikaži ovu nit
Kraj razgovora
Novi razgovor -
-
-
instead of repeating earlier arguments, I can now link to this new blog post from
@freiksenet! :-Phttps://www.gatsbyjs.org/blog/2020-01-30-why-gatsby-is-better-with-javascript/ … -
Client side routing is often cited as a benefit but I haven't seen actual performance data to back that up. For example, the Parcel website is pure static HTML with no JS at all and page transitions are very fast.
- Još 3 druga odgovora
Novi razgovor -
-
-
We need to compile to static content. Doing so from arbitrary JS is probably a silly idea, and there is probably a middle-ground that gives most of the DX familiarity of "components" but allows for complete static analysis.
-
Yeah seems like something like Svelte is probably in the best position to do this.
- Još 2 druga odgovora
Novi razgovor -
-
-
-
Read the whole thread.
- Još 13 drugih odgovora
Novi razgovor -
-
-
If the goal is just to build a content website, do you think people should stick to WP?
-
Some kind of static site generator that doesn’t require JS.
- Još 7 drugih odgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.
