Replies: 4 comments 10 replies
-
I think there's a lot of love for webcomponents in Deno and it's a great environment for new ideas that are browser focused, Lit could really make an impact. Deno encourages shallow dependencies, something where Lit shines. I've already used Lit with success in deno, direct support would be even better! |
Beta Was this translation helpful? Give feedback.
-
I use Deno for library development, including for compago (framework/state management lib for Lit). Importing Lit did prove to be tricky due to issues with typings in modules generated by Skypack and ESM, so having Lit itself support Deno would be a boon. Deno provides unparalleled DX for development and I recommend to check it out if you're not going to deploy on it/use it as a runtime. A heads-up, though, when it comes to Lit, there is an issue with the Deno formatter not (officially) supporting html template tags. |
Beta Was this translation helpful? Give feedback.
-
@zandaqo @codecycleteam When I create projects in deno with Lit:
|
Beta Was this translation helpful? Give feedback.
-
@tdillon @taylor-vann I looked into it a bit more:
|
Beta Was this translation helpful? Give feedback.
-
This discussion is meant to expand on this thread in the Lit Slack.
Deno's built-in support for TypeScript makes it possible to write and run TypeScript without a distinct build step. Should Deno + TS without other tools be considered a target workflow for the bundles? If so, should the bundles include features meant strictly for TypeScript? (i.e. type declarations, Lit's decorators)
cc @duncanmak @taylor-vann
Beta Was this translation helpful? Give feedback.
All reactions