Closed aomarks closed 1 year ago
A live preview of this PR will be available at the URL below and will update on each commit. = The build takes ~5-10 minutes, and will 404 until finished.
https://pr1409---site-khswqo4xea-wl.a.run.app/
Warning Until our Cloud Run project is public, only authorized users can view the above URL. The easiest way to view it authenticated is to run the following proxy command and visit http://localhost:5453
(gcloud beta run services proxy --project=webcomponents-org-test --region=us-west2 --tag=pr1409 --port=5453 site \ & gcloud beta run services proxy --project=webcomponents-org-test --region=us-west2 --tag=pr1409 --port=6453 catalog)
Upgrades to Lit SSR 3, which adds automatic and more minimal DOM shimming. This required switching from
window
->globalThis
, sincewindow
isn't defined anymore.Also:
location
for SSR (rendering the homepage)