feature(plugins): #1646 support lit ssr default export for pages and layouts including dynamic routing#1647
Merged
thescientist13 merged 1 commit intoMay 30, 2026
Conversation
thescientist13
commented
Apr 4, 2026
thescientist13
left a comment
Member
Author
There was a problem hiding this comment.
Just a heads up the implementation here will need to change, as a breaking change is coming soon from the Lit side
20 tasks
78dcd37 to
38d1a21
Compare
thescientist13
commented
May 16, 2026
| "@lit/reactive-element/decorators/state.js": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/node_modules/@lit/reactive-element/decorators/state.js", | ||
| "@lit/reactive-element/polyfill-support.js": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/node_modules/@lit/reactive-element/polyfill-support.js", | ||
| "@lit/reactive-element/reactive-controller.js": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/node_modules/@lit/reactive-element/reactive-controller.js", | ||
| "lit": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/packages/cli/node_modules/lit/index.js", |
Member
Author
There was a problem hiding this comment.
hmm... these import maps changes, and also in #1645 have odd paths? Due to the resolution? 🤔
Member
Author
There was a problem hiding this comment.
maybe because we are bumping to Lit SSR v4? Though I wonder, why this wouldn't get scoped to the Lit renderer package instead?
This was referenced May 30, 2026
8cfca7f to
b9d7eba
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issue
resolves #1646
Documentation
Summary of Changes
export defaultfor SSR pages and layoutsTODO
connectedCallbacksupport - https://github.com/lit/lit/tree/main/packages/labs/ssr#notes-and-limitationsshould- N / A, as the new version will be opt-in at theglobalThis.litSsrCallConnectedCallbackbe configurable?LitElementdefinitiondefault exportget bodyget layout / custom element as layout- not possible yet, see dynamic runtime layouts for SSR #1248isolationin search API?caveatsconstructor props as properties for default export pages + dynamic routingdisableSsr