-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
feat(gatsby): lazy bundle page components in dev server #27884
Commits on Nov 6, 2020
-
feat(gatsby): lazy compile page components in dev server
This means we only compile the core runtime code initially — page components are only compiled when the user visits the page.
Configuration menu - View commit details
-
Copy full SHA for b78ee23 - Browse repository at this point
Copy the full SHA b78ee23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 636afaf - Browse repository at this point
Copy the full SHA 636afafView commit details -
Configuration menu - View commit details
-
Copy full SHA for b46f680 - Browse repository at this point
Copy the full SHA b46f680View commit details -
Configuration menu - View commit details
-
Copy full SHA for a47442e - Browse repository at this point
Copy the full SHA a47442eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a378040 - Browse repository at this point
Copy the full SHA a378040View commit details -
Don't bother with navigating — if webpack doesn't update — the user p…
…robably has errors in their code or something bigger is wrong so let them just refresh, etc.
Configuration menu - View commit details
-
Copy full SHA for a268a4d - Browse repository at this point
Copy the full SHA a268a4dView commit details
Commits on Nov 9, 2020
-
Update packages/gatsby/src/bootstrap/requires-writer.ts
Co-authored-by: Ward Peeters <ward@coding-tech.com>
Configuration menu - View commit details
-
Copy full SHA for 4d07210 - Browse repository at this point
Copy the full SHA 4d07210View commit details -
Update packages/gatsby/cache-dir/dev-loader.js
Co-authored-by: Ward Peeters <ward@coding-tech.com>
Configuration menu - View commit details
-
Copy full SHA for 59a0385 - Browse repository at this point
Copy the full SHA 59a0385View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cef9c0 - Browse repository at this point
Copy the full SHA 1cef9c0View commit details
Commits on Nov 10, 2020
-
Wait until we know staticQueryHashes are written to page-data.json files
We only discover static queries for pages after the component is compiled. Which means when we lazily add page components, we initially don't know what static queries should be loaded. To track this, we mark page-data.json files as not bundled & only after the staticQueryHashes is written do we accept the page as loaded.
Configuration menu - View commit details
-
Copy full SHA for 56d5288 - Browse repository at this point
Copy the full SHA 56d5288View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29db87e - Browse repository at this point
Copy the full SHA 29db87eView commit details -
Configuration menu - View commit details
-
Copy full SHA for afc77cc - Browse repository at this point
Copy the full SHA afc77ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 237d715 - Browse repository at this point
Copy the full SHA 237d715View commit details -
Configuration menu - View commit details
-
Copy full SHA for d23f5fb - Browse repository at this point
Copy the full SHA d23f5fbView commit details
Commits on Nov 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f87a58c - Browse repository at this point
Copy the full SHA f87a58cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 208cedf - Browse repository at this point
Copy the full SHA 208cedfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94aa19f - Browse repository at this point
Copy the full SHA 94aa19fView commit details
Commits on Nov 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 902cf62 - Browse repository at this point
Copy the full SHA 902cf62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bca292 - Browse repository at this point
Copy the full SHA 4bca292View commit details -
Comment and add timeout to ensure page-data writes happen after the w…
…ebpack compilation
Configuration menu - View commit details
-
Copy full SHA for 36738e3 - Browse repository at this point
Copy the full SHA 36738e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84fb3b0 - Browse repository at this point
Copy the full SHA 84fb3b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cf3a66 - Browse repository at this point
Copy the full SHA 2cf3a66View commit details -
Configuration menu - View commit details
-
Copy full SHA for c202cdf - Browse repository at this point
Copy the full SHA c202cdfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f55655 - Browse repository at this point
Copy the full SHA 6f55655View commit details
Commits on Nov 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for eb88597 - Browse repository at this point
Copy the full SHA eb88597View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68236bf - Browse repository at this point
Copy the full SHA 68236bfView commit details
Commits on Nov 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for acfbe67 - Browse repository at this point
Copy the full SHA acfbe67View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5fcd13 - Browse repository at this point
Copy the full SHA a5fcd13View commit details
Commits on Nov 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 53051e9 - Browse repository at this point
Copy the full SHA 53051e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d140a1b - Browse repository at this point
Copy the full SHA d140a1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68efb11 - Browse repository at this point
Copy the full SHA 68efb11View commit details -
Update packages/gatsby/src/utils/start-server.ts
Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 433918f - Browse repository at this point
Copy the full SHA 433918fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbd17a9 - Browse repository at this point
Copy the full SHA fbd17a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3113e12 - Browse repository at this point
Copy the full SHA 3113e12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78c0382 - Browse repository at this point
Copy the full SHA 78c0382View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34151f9 - Browse repository at this point
Copy the full SHA 34151f9View commit details