Skip to content

Commit

Permalink
Update packages/lit-dev-content/site/blog/2023-09-27-lit-3.0-prerelea…
Browse files Browse the repository at this point in the history
…se-2.md

Co-authored-by: Andrew Jakubowicz <[email protected]>
  • Loading branch information
justinfagnani and AndrewJakubowicz authored Sep 28, 2023
1 parent 0efa652 commit e95de73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ As we [announced with the first prerelease](./2023-05-15-lit-3.0-prerelease/), L

### New hybrid decorators with standard decorators support

One new thing we _have_ added to Lit 3.0 though is support for TC39 standard decorators. The new decorator spec has reached Stage 3 in TC39, meaning that browsers and compilers are now implementing them. This is a huge step for Lit because it allows us to begin the process of moving to decorator implementation that won't require a compiler to use.
One new thing we _have_ added to Lit 3.0 though is support for TC39 standard decorators. The new decorator spec has reached Stage 3 in TC39, meaning that browsers and compilers are now implementing them. This is a huge step for Lit because it allows us to begin the process of moving to a decorator implementation that won't require a compiler to use.

Recently TypeScript 5.2 added support for standard decorator metadata, which was the last piece needed for us to use the new specification (Babel's next release will have support). So we've made our decorators work with TypeScript's `experimentalDecorators` flag set to either `true` or `false`.

Expand Down

0 comments on commit e95de73

Please sign in to comment.