[x] How come the Lit card re-renders on client side in our demo repo? - ah, most likely due to not populating the data on the client side - https://github.com/lit/lit/issues/3651
need the polyfill?
chrome doesn't already support it? (is this a shadowrootmode thing?)
Related Issue
resolves #1197
Depends on the following PRs being merged first
Summary of Changes
exportConditions
for SSR pages and API routes to now includenode
(like used in Lit's SSR implementation)getBody
API)0.12.0
TODO
export const hydration = true
export const function loader() => { /* ... */ }
customElements.define
issue - https://github.com/ProjectEvergreen/greenwood/pull/1206greenwood serve
only)? - https://lit.dev/docs/ssr/server-usage/#running-ssr-in-a-vm-module-or-the-global-scopeexport
to bring Workers back in on an opt-in basis?greenwoodJsonLoader
getBody
limitation for SSR pagespreferBuiltins
for Lit in our Rollup config anymore?postinstall
- https://github.com/ProjectEvergreen/wcc/releases/tag/0.12.0false
true
confirm import map snapshot changes- confirmed that this got moved to SSR client - https://github.com/lit/lit/pull/3720window
Thoughts / Questions
exportConditions
are still needed after #1087node
- https://github.com/rollup/plugins/issues/362#issuecomment-873448461type="module-shim"
🤔shadowrootmode
thing?)