Skip to content

Comments

Migration from Lit 2.8 to 3.2#183

Merged
JaapvanEkris merged 3 commits into0.9.7-(under-construction)from
Lit-migration
Feb 18, 2026
Merged

Migration from Lit 2.8 to 3.2#183
JaapvanEkris merged 3 commits into0.9.7-(under-construction)from
Lit-migration

Conversation

@JaapvanEkris
Copy link
Owner

No description provided.

@JaapvanEkris JaapvanEkris added the Development branch Concerns a development branch label Feb 11, 2026
@JaapvanEkris JaapvanEkris added this to the 0.9.7 milestone Feb 11, 2026
@JaapvanEkris
Copy link
Owner Author

@Abasz are you able to rebase the code in order to resolve the merge conflicts (otherwise I'll do it manually)?

Abasz and others added 2 commits February 11, 2026 17:09
Update lit dependency to version 3.2.0 and adjust config and build tools
to support the new version. Migrate code with the minimal required
changes.
@Abasz
Copy link
Collaborator

Abasz commented Feb 11, 2026

Did a rebase and a force push to retain commit history. Note that CI fails because of the invalid config option added in your commit "Allow Console messages on the client".

@Abasz
Copy link
Collaborator

Abasz commented Feb 14, 2026

This is ready for testing.

Copy link

@DXCanas DXCanas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From my testing, the GUI is DOA (black screen with the no-js error)

Going to test and see why that might be. But leaving some "mechanical" notes

Edit: I forgot to run npm install :)

[
"@babel/plugin-proposal-decorators",
{
"version": "2023-05"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you test bundle size with standard decorators vs experimental? The guide warns about significant size increases.

While Lit 3 adds support for standard decorators, we still recommend that TypeScript users stay with experimental decorators. This is because the emitted code for standard decorators from the TypeScript and Babel compilers is quite large at the moment.
https://lit.dev/docs/releases/upgrade/#standard-decorator-migration

Though. I get that things might have changed since the migration guide was written :)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aaah no I have not actually. To be fair I was thinking that this will solve it self when we move to TS and Vite :)

this._dialog = html`
<app-dialog @close=${(event) => {
this._dialog = undefined
// this._dialog = undefined
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this commented instead of removed? If for testing, did it work?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was testing whether it works without this and to me it did so I did not understand the purpose any more. but I did not delete so if issues emerge I can remember to put it back :D should have added a TODO comment!

@JaapvanEkris JaapvanEkris merged commit 9b8b97a into 0.9.7-(under-construction) Feb 18, 2026
1 check failed
@JaapvanEkris JaapvanEkris deleted the Lit-migration branch February 18, 2026 15:17
DXCanas pushed a commit to DXCanas/openrowingmonitor that referenced this pull request Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development branch Concerns a development branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants