I made a new Lit demo that shows how updates propagate down a tree.
When a parent re-renders, only the children with changed data re-render. Often only a small subset of a large tree has to update.
Polymer (library)
Polymer is a discontinued open-source JavaScript library for building web applications using Web Components. Google and outside contributors developed it on GitHub. At Google I/O 2018 Google announced a successor base class, LitElement, and the Polymer documentation recommends it for new projects. Modern design principles are implemented as a separate project using Google's Material Design design principles. More on Wikipedia
-
Lit reposted
Justin Fagnani
@justinfagnani
-
Lit
@buildWithLit
๐ฃ We're super excited to announce our newest Lit Labs package: @ lit-labs/signals!
๐ฆ lit-labs/signals brings the new TC39 Signals proposal to Lit, integrating them with Lit's reactive lifecycle for automatic component updates, and with Lit templates for pinpoint updates.Post not available here, view on X
Lit
@buildWithLit
๐ Special thanks to @littledan @pzuraq @nullvoxpopuli and other Signals champions and community members for their hard work on the proposal. We hope it moves forward quickly!
Lit
@buildWithLit
Big thanks to @EisenbergEffect too!
-
Lit reposted
Jason
@jgv999
Join @sarah__p as she presents Set Phasers to Love: Designing with @buildWithLit and Design Systems at phillyjs.com on Oct 10 @indyhall.
* Rescheduled from last month
Presented by the Philadelphia JavaScript Club. -
Lit reposted
Justin Fagnani
@justinfagnani
Updated my PR to add a TC39 Signals proposal integration for @buildWithLit. I think it's real close now!
I've already been using a version of this integration in my own projects, and it's been really great. I'm excited to see how much more we can do!!
github.com/lit/lit/pull/4615 -
Lit reposted
Marc Grabanski
@1Marc
lit-html is all you need to solve the biggest problem with JS โ intelligent DOM rendering lit.dev/docs/libraries/standalone-templates/
You can keep throwing string literal templates at the DOM and it will only update what needs to be updated. -
Lit
@buildWithLit
Justin Fagnani
@justinfagnani
The @buildWithLit community is so, so helpful on our Discord server. ๐ค
I love seeing people help each other with links to docs, specs, issues, code, and correct rationale for things! -
Lit
@buildWithLit
Make sure to check out the Lit ๐ฅง release v3.1.4!
Lit
@buildWithLit
๐ฐ New Lit patch releases today! ๐ฐ
Thanks to community members @43081j, @jrencz, Randolf Jung and IMinchev64 for their contributions! -
Lit
@buildWithLit
๐ฐ New Lit patch releases today! ๐ฐ
Thanks to community members @43081j, @jrencz, Randolf Jung and IMinchev64 for their contributions! -
Lit
@buildWithLit
๐ Cheers to the @reactjs team and contributors on achieving a perfect 100% on Custom Elements Everywhere with React 19 beta! The Lit team can't wait to see the amazing things everyone will create!
custom-elements-everywhere.com -
Lit
@buildWithLit
New Lit-based framework just dropped
@tini_js is a new JS framework built around Lit & Web Components for building SPAs, PWAs, Desktop, or Mobile Apps.
The team just wrote up a post on getting started with Tini. Check it out ๐
dev.to/lamnhan/getting-started-with-tinijs-framework-881 -
Lit
@buildWithLit
BlockSuite ๐คฏ Wow!
Check out this open-source web components library for building collaborative rich editing apps by @AffineDev, all built with Lit!
The feature set is *quite* extensive.
๐ Site: blocksuite.io
๐ฉโ๐ป GitHub: github.com/toeverything/blocksuite -
Lit
@buildWithLit
โThe most funded and backed software Kickstarter of all timeโ and itโs built with Web Components and Lit!
-
Lit
@buildWithLit
A full-stack application framework #builtwithlit? Sign me up!
Julian Cataldo
@Julian_Cataldo
The first release of the Gracile playground is out๐!
It's built with @shoelace_style, @Adobe Lit MobX, @Microsoft Monaco Editor, @stackblitz Web Container and of course, @buildWithLit and @vite_js ๐.
Take a dive into the platform-minded framework ๐
gracile.js.org/docs/playground/ -
Lit reposted
Julian Cataldo
@Julian_Cataldo
The first release of the Gracile playground is out๐!
It's built with @shoelace_style, @Adobe Lit MobX, @Microsoft Monaco Editor, @stackblitz Web Container and of course, @buildWithLit and @vite_js ๐.
Take a dive into the platform-minded framework ๐
gracile.js.org/docs/playground/ -
Lit
@buildWithLit
It is amazing to see a standards proposal for Signals! Lit currently offers a @preactjs Signals implementation at @โlit-labs/preact-signals and look forward to integrating a native implementation
Join the discussion to help steer Lit's future
github.com/lit/lit/discussions/4115
Lit
@buildWithLit
Lit
@buildWithLit
Even more Lit + Signals news! ๐ฅโ๐๏ธ
We now have an RFC for Signals integration โ your input matters! Join the RFC discussion on Signals and Lit, and let's build the best possible community experience together. Share your thoughts here:
github.com/lit/rfcs/pull/39 -
Lit
@buildWithLit
Even more Lit + Signals news! ๐ฅโ๐๏ธ
We now have an RFC for Signals integration โ your input matters! Join the RFC discussion on Signals and Lit, and let's build the best possible community experience together. Share your thoughts here:
github.com/lit/rfcs/pull/39 -
Lit reposted
Julian Cataldo
@Julian_Cataldo
Chiming in Lit's SSR has led me to build a thin framework on top of Vite.
It's in a preview state, but docs already has a lot to demonstrate.
Code is rendered with @antfu7 recently rehauled shiki/twoslash and @shoelace_style mighty tooltips! @buildWithLit gracile.js.org/docs/learn/usage/defining-routes/ -
Lit reposted
Corbin Crutchley
@crutchcorn
.@tan_stack Form๐ค@buildWithLit
Thanks to the awesome work done by Christian24 on GitHub, we now have a Lit adapter for TanStack Form.
Released as part of 0.15 and will be part of v1 from day 1. -
Lit
@buildWithLit
Step into the Shadow DOM and experience lit.dev along with all of its interactive features in dark mode ๐
-
Lit reposted
Thomas Broyer
@tbroyer
โThe benefits of Web Component Librariesโ, highlights what @buildWithLit (and @FAST_UI) bring to the table on top of the native APIs.
dev.to/tbroyer/the-benefits-of-web-component-libraries-527h
#webcomponents #builtwithlit #buildwithlit #fast #fastui -
Lit
@buildWithLit
๐New Lit release published ๐
Thank you @alfonsogcnunez and zh-lx for contributing to lit-labs/motion!
Highlights are multiple SSR improvements, new โbrowserโ export condition entry points, and lit/localize improvements.
๐๏ธRead release notes here โ github.com/lit/lit/releases -
Lit
@buildWithLit
Material Design
@materialdesign
Meet Material Web 1.0, complete with light and accessible Material Components.
Here's what's coming next:
โ Accessibility updates
โ TSX support
โ Expanded tokens
โ And more!
Check it out โ goo.gle/47OV336 -
Lit reposted
Corbin Crutchley
@crutchcorn
.@tan_stack Form ๐ค @buildWithLit
-
Lit reposted
Christian Bromann
@bromann
Very cool to see that @webdriverio is now documented as an option for testing @buildWithLit apps. I've built and tested a lot of Lit applications and found WebdriverIO to be the best solution for component tests out there today ๐ with more to come!
lit.dev/docs/tools/testing/ -
Lit
@buildWithLit
Reactive Controllers are a good, reusable, way to wrap third party libraries for usage across frameworks and libraries like Lit!
Elliott Marquez
@techytacos
Yesterday evening someone requested a sortable js + @buildWithLit integration so I scratched up something quick. It wraps it in a reusable ReactiveController and also has a <sortable-js> element (that still requires lit-html TODO).
Check it out:
lit.dev/playground/
Lit
@buildWithLit
Read more on ReactiveControllers here:
lit.dev/docs/composition/controllers/ -
Lit reposted
Justin Fagnani
@justinfagnani
Lit's built-in XSS protection is boosted by the fact that it *already* supports Trusted Types.
Enable trusted-types in CSP and lit-html template literals will be trusted and all user values - which could flow to unsafe attributes - will be untrusted.
Lukas Weichselbaum
@we1x
Mozilla has changed their standards position on Trusted Types to positive ๐
2024 will be a bad year for DOM-based XSS.
github.com/mozilla/standards-positions/issues/20 -
Lit
@buildWithLit
โญNew Lit releaseโญ
@MaxArt2501 fixed a bug in the query decorator caching null.
@Autopulated extended ContextProvider so it can be added to any HTML element.
New server-only templates for SSR!
Features/fixes in Nextjs, ssr-react, Virtualizer, and React!
๐๏ธgithub.com/lit/lit/releases -
Lit reposted
James Garbutt
@43081j
Reminder that if you're working with @buildWithLit , there's a bunch of reusable lit controllers and directives you might find useful in relit github.com/43081j/relit
-
Lit reposted
Storybook
@storybookjs
Storybook 7.5 is here! It brings a ton of improvements that enhance the Storybook experience.
โก๏ธ Vite 5.0 + Lit 3.0 support
๐จ 2.2x faster React TypeScript start times
๐ป 'storiesOf' deprecated
๐ ฐ๏ธ Many Angular improvements
๐๏ธ Rename @nextjs font imports
storybook.js.org/blog/storybook-7-5/ -
Lit reposted
Material Design
@materialdesign
Introducing Material Web 1.0, Googleโs component library that works wherever HTML works ๐
Learn how you can start using lightweight and accessible Material Components on our updated webpage here โ goo.gle/3rU528a -
Lit
@buildWithLit
Who's using Lit? A lot of people! And maybe you too
www.youtube.com/shorts/tZKZjNTqDXc
Lit
@buildWithLit
Try it now in our live editor
lit.dev/playground/ -
Lit
@buildWithLit
๐คฉ๐ถ
โ This user is disputed
@usergenic
Congrats Lit 3 Launch crew! An AI I know made this rap to celebrate and commemorate your success! ๐ค
-
Lit
@buildWithLit
It's Lit Launch Day!
Say โBye byeโ to Internet Explorer, and โAy up ๐โ to a new major release of Lit and some brand new toys for you to try ๐งธ!
We canโt fit everything into a single tweet, so check out the ๐งตand release post: lit.dev/blog/2023-10-10-lit-3.0/Post not available here, view on X
Lit
@buildWithLit
6. ๐ฆAnd for the cherry on top, weโve added a new Lit Labs package: Preact Signals!
For Lit developers we think signals offer a convenient and relatively simple option for shared reactive state!
Lit
@buildWithLit
There are many more details, and weโve compiled them all for you here, in the the Lit 3 release blog post: lit.dev/blog/2023-10-10-lit-3.0/
Thank you to all the open source contributors, community members, and awesome Lit folk!
We can't wait to see what this exceptional community makes! -
Lit
@buildWithLit
๐ Itโs Lit Launch Day, and weโre kicking the day off with a livestream going over all the things to get excited about with Lit 3.0!
Join us imminently, at 10 am PDT: youtube.com/live/ri9FEl_hRTc -
Lit
@buildWithLit
๐ขItโs just around the corner! ๐ข
Lit 3.0 launch event happens tomorrow, October 10, at 10am US Pacific Time!
Livestream: www.youtube.com/watch?v=ri9FEl_hRTc
Calendar: calendar.google.com/calendar/u/0/r/eventedit/copy/MGswa2lโฆ -
Lit reposted
Justin Fagnani
@justinfagnani
๐ Reminder that the Lit 3 launch livestream is next Tuesday!
We're going to do a Q&A from the YouTube live comments, so jump in if you want to ask anything!
Lit
@buildWithLit
Mark your calendars for the Lit 3.0 Launch Event!
Join us on October 10 at 10am US Pacific Time. Hit the notification bell on the livestream below or follow the Lit community calendar linked in the following post
www.youtube.com/watch?v=ri9FEl_hRTc -
Lit reposted
Judah Gabriel ๐ฎ๐ฑ
@JudahGabriel
Hey! Today we released the new apps.microsoft.com - app store for Windows. ๐ Proud of this work!
It's built with web components, using @buildWithLit, @shoelace_style, @vite_js, @pwabuilder's PWA template, App Tools router, running on C# ASPNET backend. ๐ -
Lit reposted
Justin Fagnani
@justinfagnani
Thanks for the Lit 3 shout-out @bytesdotdev !
"Today, Lit is getting just under 1.2 million weekly npm downloads, nearly 24x what it was getting two years ago. Its growth curve is such a perfect hockey stick that it should come with an NSFW warning for VC associates."
๐คฃ๐คฃ๐คฃ -
Lit
@buildWithLit
Mark your calendars for the Lit 3.0 Launch Event!
Join us on October 10 at 10am US Pacific Time. Hit the notification bell on the livestream below or follow the Lit community calendar linked in the following post
www.youtube.com/watch?v=ri9FEl_hRTc
Lit
@buildWithLit
Link to lit public calendar:
lit.dev/community-calendar/ -
Lit reposted
Lit
@buildWithLit
Lit 3.0 Prerelease 2 published!
It contains some awesome stuff we'd love you to try out:
โจ Standard decorator support!
๐First graduating class of Labs: Task, Context, and React
๐๏ธA new template compiler, and Preact signals integration
Full post here lit.dev/blog/2023-09-27-lit-3.0-prerelease-2/ -
Lit reposted
Addy Osmani
@addyosmani
๐ Photoshop is now on the web!
Enabled by WebAssembly, Emscripten, Web Components + Lit, Service Workers + Workbox & high-performance storage. The @googlechrome enjoyed collaborating with @adobe on the launch. Try it out!
๐ Case Study: web.dev/ps-on-the-web/ -
Lit
@buildWithLit
Lit 3.0 Prerelease 2 published!
It contains some awesome stuff we'd love you to try out:
โจ Standard decorator support!
๐First graduating class of Labs: Task, Context, and React
๐๏ธA new template compiler, and Preact signals integration
Full post here lit.dev/blog/2023-09-27-lit-3.0-prerelease-2/ -
Lit reposted
Elliott Marquez
@techytacos
Community member Luke Vo wrapped our Material web library in #dotnet #blazor. Web components can really work everywhere! Check it out!
github.com/datvm/BlazorMaterialWeb -
Lit reposted
Elliott Marquez
@techytacos
๐ It's here, it's here, @materialdesign web 1.0 is here ๐
Here's what you get:
- 19 production-ready components
- Material 3 dynamic color
- a11y & HCM
- form support
- Cross framework support
- Basic @buildWithLit SSR support
- Fewer breaking changes
github.com/material-components/material-web/discussions/5004 -
Lit reposted
James Garbutt
@43081j
eslint-plugin-wc 2.0.0 ๐a whole bunch of new lint rules for web components - big thanks to @Keithamus for putting the time in to create and migrate these rules with me, and @stramel89 for CRs // cc @buildWithLit
-
Lit reposted
Rob Eisenberg
@EisenbergEffect
We just wrapped up some great Web Component meetings at W3C TPAC this year! There were five dedicated sessions on related topics, with excellent implementor engagement across the board.
A few highlights include:
* Firefox intends to ship Declarative Shadow DOM very soon! ๐
* The remaining major open questions on Scoped Custom Element Registries have been resolved. Microsoft is implementing a prototype in Chromium now.
* Google has an early prototype of DOM Parts available now in Chromium under experimental platform features.
* There was a ton of interest (and I think excitement) about bringing custom attributes/behaviors/enhancements/mixins to HTML.
* Cross Root ARIA proposals are getting more refined, and folks are now looking at how best to harmonize simplicity for common/simple cases with power for complex scenarios.
I'll be following up with a blog post providing more details in the coming days. -
Lit reposted
PWABuilder
@pwabuilder
Our PWA Starter aka.ms/pwa-starter uses @buildWithLit to build your pages and components in your app. This gives you a very familiar developer experience to the bigger frameworks, BUT also means that your PWA is fast , is built on web standards, and that performance scales
-
Lit
@buildWithLit
Web Components on the server? Itโs easy when you build with Lit!
The experimental @โlit-labs/ssr package is your go-to for rendering Lit on the server. There are already some integrations out there today for:
@nuxt_js
@nextjs
@eleven_ty
@astrodotbuild
Details below โ๐งตPost not available here, view on X
Lit
@buildWithLit
Next up we have the official @eleven_ty integration. You can get it on npm at @โlit-labs/eleventy-plugin-lit
www.npmjs.com/package/@lit-labs/eleventy-plugin-lit
File feedback on the Lit repo!
Lit
@buildWithLit
Last, but definitely not least: our friends at @astrodotbuild support Lit SSR straight out of the box with a first-class and slim integration.
You can get it @โastrojs/lit or simply by running their cli.
Learn more at:
docs.astro.build/en/guides/integrations-guide/lit/ -
Lit reposted
Abdรณn Rodrรญguez
@abdonrd
I'm happy to finally see the new version of Carbon Web Components announced! ๐
The @_carbondesign team has done a great job!
Using @buildWithLit under the hood ๐ฅ
medium.com/carbondesign/carbon-web-components-v2-full-relโฆ -
Lit
@buildWithLit
Labs release!
@PowersBenny fixed circular dependencies in analyzer, and released gen-manifest!
zh-lx fixed windows paths in gen-wrappers!
Context now supports late loaded providers!
mlcui fixed Task.render()'s return type!
๐ Read the full release notes: github.com/lit/lit/releases -
Lit reposted
JS Party ๐ชฉ
@JSPartyFM
๐ชฉ New episode of JS Party!
๐ฅThis is going to be Lit!
๐คฉ featuring @justinfagnani from @Google
โจ hosted by @nomadtechie and @kbal11
๐ท๏ธ #webcomponents #buildwithlit
๐ง changelog.com/jsparty/284 -
Lit
@buildWithLit
๐Lit 2.8.0 released ๐
In preparation for the graduation of lit-labs/react and lit-labs/task, theyโve both received major changes to finalize their APIs.
Thank you @PowersBenny and @alanbuzek for your contributions!
๐ Read the full release notes here: github.com/lit/lit/releases -
Lit reposted
Andrew
@youcodethings
Thank you @devmio_official for a great interview about @buildWithLit! A fantastic opportunity to answer common questions in one place!
Check it out๐ฅ: devm.io/javascript/lit-web-components -
Lit reposted
Justin Fagnani
@justinfagnani
Shopify is using @buildWithLit now too!
-
Lit reposted
hillaframework
@hillaframework
"[@hillaframework's] combination of a @springboot #java backend with a reactive #typescript frontend, along with UI design through @buildWithLit or @reactjs, enables the creation of dynamic applications."
Learn more in @simas_ch's @InfoQ article ๐
www.infoq.com/articles/how-to-manage-full-stack-java-deveโฆ -
Lit reposted
Justin Fagnani
@justinfagnani
After a really productive DOM Parts meeting today I'm more optimistic than ever that we're going to get an ergonomic and efficient templating primitive into the web platform soon, fulfilling the promise of <template> and bringing us closer to declarative custom elements.
-
Lit
@buildWithLit
Google Maps Platform
@GMapsPlatform
Web Components: The easy way to add and customize maps to your website โ ๐
Get started โ goo.gle/3rmaIau
#googlemaps #html #webapp -
Lit reposted
Justin Fagnani
@justinfagnani
Web Dev Server 0.3.0 is out which adds the 'development' export condition by default!
Now @buildWithLit users will get the unminified dev build by default which includes extra runtime checks and warnings.
github.com/modernweb-dev/web/releases/tag/%40web%2Fdev-seโฆ
Thanks to @passle_ for getting that in! -
Lit reposted
Google Maps Platform
@GMapsPlatform
Web Components: The easy way to add and customize maps to your website โ ๐
Get started โ goo.gle/3rmaIau
#googlemaps #html #webapp -
Lit
@buildWithLit
The Lit and Friends Community Call is tomorrow. Join in or help shape the agenda in the link below!
Lit
@buildWithLit
๐ฃ JULY 12 at 10AM PST: Join for the return of our Lit and Friends Community Call!
Connect with members of the Lit team to talk about topics like #webcomponent standards, tooling, and more.
Suggest agenda items and more info here โฌ
github.com/lit/lit/discussions/3975 -
Lit reposted
Addy Osmani
@addyosmani
The new Reddit UI is built with @buildWithLit & Web Components: sh.reddit.com. It's fast (on Core Web Vitals) and a good experience so far.
-
Lit
@buildWithLit
Lit + Vite = Leet
Cory LaViska
@claviska
Really happy to see @buildWithLit as an option for setting up a new project with @vite_js ๐
-
Lit reposted
Justin Fagnani
@justinfagnani
Classes don't have to be hard to use.
@buildWithLit automatically sets the `this` value of event callbacks to your component instance so you don't have to do worry about bind().
Matt Pocock
@mattpocockuk
React devs in 2023 don't know how good they have it.
-
Lit
@buildWithLit
๐Lit 2.7.6 released๐
Upgrade to lit-html 2.7.5 or lit 2.7.6 for a security update and improved Ref types. Thank you @WestbrookJ for fixing an issue in virtualizer.
Also includes patch fixes to labs/react and labs/ssr.
Read more: github.com/lit/lit/releases -
Lit reposted
Max Kless
@MaxKless
Check out my latest blog post & accompanying video by @zackderose.
They talk about our rewrite of the Nx Console Generate UI using @buildWithLit. If you want to learn something new, check it out!!
Nx
@NxDevTools
Excellent integration with your IDE is a core feature of Nx. @MaxKless details our most recent update, including how we reduced our bundle size, start-up time, and build time by migrating to Lit and esbuild. (w/ a video by @zackderose)
Links in comment ๐ -
Lit reposted
Lit
@buildWithLit
๐ฃ JULY 12 at 10AM PST: Join for the return of our Lit and Friends Community Call!
Connect with members of the Lit team to talk about topics like #webcomponent standards, tooling, and more.
Suggest agenda items and more info here โฌ
github.com/lit/lit/discussions/3975 -
Lit reposted
Rody Davis
@rodydavis
Demo time! From @figma to @buildWithLit playground!
Even supports nested components and creates empty methods for prototype events.
(Figma API missing new expressions in triggers/actions) -
Lit reposted
Rody Davis
@rodydavis
Created an example of how to export @figma to @buildWithLit web components!
Also an option to build into a single component or break up per component ๐ฅ
Even added {{token}} support in strings that will auto create properties.
github.com/rodydavis/figma-to-lit -
Lit
@buildWithLit
๐ฃ JULY 12 at 10AM PST: Join for the return of our Lit and Friends Community Call!
Connect with members of the Lit team to talk about topics like #webcomponent standards, tooling, and more.
Suggest agenda items and more info here โฌ
github.com/lit/lit/discussions/3975 -
Lit
@buildWithLit
npm i -s lit
www.npmjs.com/package/lit
Elliott Marquez
@techytacos
The `lit` package just passed 1 million weekly downloads on NPM.
A useless statistic but fun milestone
Despite being released in Lit 2, it's reaching parity with our Lit 1 packages showing the @buildWithLit team's commitment to easy major version upgrades -
Lit reposted
Elliott Marquez
@techytacos
The `lit` package just passed 1 million weekly downloads on NPM.
A useless statistic but fun milestone
Despite being released in Lit 2, it's reaching parity with our Lit 1 packages showing the @buildWithLit team's commitment to easy major version upgrades -
Lit
@buildWithLit
๐Lit 2.7.5 released๐
- lit-labs/ssr-react coordinates property and attribute handling.
- lit-labs/context type checking was improved by @jpzwarte
- chrispaterson contributed refactorings to virtualizer to reduce potential memory leaks.
Read more: github.com/lit/lit/releases -
Lit reposted
Elliott Marquez
@techytacos
Building with @buildWithLit
Dominik ๐ฎ
@TkDodo
๐ด I'm live: twitch.tv/TkDodo23
-
Lit reposted
Justin Fagnani
@justinfagnani
Looks like Adobe launched their Firefly generative AI image in-paint feature for the web, and built with Lit! ๐จ๐ฅ
firefly.adobe.com/upload/inpaint -
Lit
@buildWithLit
Major Lit 3.0 release but no new features? ๐ฒ
It's a lot better than you may think, read about the 3.0 pre-release here:
lit.dev/blog/2023-05-15-lit-3.0-prerelease/ -
Lit
@buildWithLit
๐ฃLit 3.0 is coming! Try the pre-release today๐ฃ
Get an early look at Lit 3.0, our first major release since Lit 2.0 two years ago. If you run Lit 2.x with no deprecation warnings, this should be a seamless upgrade!
Read more and try the prerelease here: lit.dev/blog/2023-05-15-lit-3.0-prerelease/ -
Lit reposted
Lit
@buildWithLit
Weโre thrilled to finally talk about our collaboration w/ the Google Maps Platform team!๐๐ฅ
GMP just released their Extended Component Library based on web components and #builtwithlit. These components let you build better maps faster, w/ less effort
cloud.google.com/blog/products/maps-platform/build-maps-fโฆ -
Lit
@buildWithLit
Weโre thrilled to finally talk about our collaboration w/ the Google Maps Platform team!๐๐ฅ
GMP just released their Extended Component Library based on web components and #builtwithlit. These components let you build better maps faster, w/ less effort
cloud.google.com/blog/products/maps-platform/build-maps-fโฆPost not available here, view on X
Lit
@buildWithLit
Want to give it a try?
NAVIGATE to this editable demo in the Lit Playground:
lit.dev/playground/
Lit
@buildWithLit
This project is also open source!
See how they built their elements with Lit on GitHub:
github.com/googlemaps/extended-component-library -
Lit reposted
Justin Fagnani
@justinfagnani
I cannot wait until TypeScript supports standard decorator metadata and @buildWithLit can switch away from experimental decorators.
Standard decorators and TypeScript great typings for them them fix so many things. We'll be able to give much better edit-time feedback to users! -
Lit reposted
Justin Fagnani
@justinfagnani
Wow, I didn't know Firefox was now being built with Lit!
I found this while following some links from @buildWithLit's GitHub repo.
github.com/mozilla/gecko-dev/blob/master/toolkit/content/โฆ -
Lit reposted
Lit
@buildWithLit
Need your fix of Lit and Web Components โ well @syntaxfm has you covered!!
Listen in on @justinfagnani talk all about WCs & Lit on the latest Supper Club episode on the Syntax Podcast
๐โโ๏ธ๐๏ธ๐จโ๐ป๐จโ๐ป
syntax.fm/show/595/supper-club-web-components-and-lit-witโฆ -
Lit reposted
Rob Eisenberg
@EisenbergEffect
Quick summary of what the new spec would enable in a Web Component context (of course, you can also use the same technique with adopted stylesheets on the document).
-
Lit reposted
Rob Eisenberg
@EisenbergEffect
I've talked much about Web Components lately, focusing on the v1 specs supported by 2020. But since then, the number of WC features has nearly doubled! In this post I cover the broader landscape of standards past, present & future. link.medium.com/1YGESD3A4yb
-
Lit reposted
James Garbutt
@43081j
you can use `bindInput` to hook up two way binding in your @buildWithLit apps. this has reduced boilerplate in our components a huge amount #javascript github.com/43081j/relit/blob/main/docs/bindInput.md
-
Lit
@buildWithLit
Need your fix of Lit and Web Components โ well @syntaxfm has you covered!!
Listen in on @justinfagnani talk all about WCs & Lit on the latest Supper Club episode on the Syntax Podcast
๐โโ๏ธ๐๏ธ๐จโ๐ป๐จโ๐ป
syntax.fm/show/595/supper-club-web-components-and-lit-witโฆ -
Lit
@buildWithLit
Lit, now with 100% fewer build tools:
lit.dev/playground/
Addy Osmani
@addyosmani
JavaScript import-maps are now supported cross-browser! ๐บ๏ธ web.dev/import-maps-in-all-modern-browsers/
<script type="importmap"> can define a mapping of external module names to their corresponding URLs, making it easier to use in your code. -
Lit reposted
Elliott Marquez
@techytacos
Safari 16.4 just shipped with Streaming DSD, so I've updated my @eleven_ty + @buildWithLit template to support streaming DSD + Eleventy 2.0.
Check it out if you like fast websites:
๐๐๐๐
github.com/e111077/11ty-lit -
Lit reposted
James Garbutt
@43081j
relit 2.3.0 released ๐ some fixes and a new slot controller for reacting to changes in slotted content - if you haven't used it before, check it out! its a small collection of @buildWithLit helpers/controllers github.com/43081j/relit
-
Lit reposted
Elliott Marquez
@techytacos
If you're already using @buildWithLit SSR, we already have forwards compatiblity for streaming SSR committed ready to ship โ just awaiting a release.
Elliott Marquez
@techytacos
It's not in the announcement, but this update includes streaming Declarative Shadow DOM!
<template shadowrootmode="open"> -
Lit
@buildWithLit
โก๏ธWant some quick tips on how to animate effectively in Lit?
Lit Engineer, Steve Orvell, shares how to use this lit labs motion package to make things move!
Watch for an overview โฌ๏ธ
goo.gle/3JiaLun -
Lit
@buildWithLit
๐ Too much DOM?
In this video, @usergenic demos @ lit-labs/virtualizer, a highly adaptive package under development used to virtualize element rendering for large collections.
Watch for an overview and more! โฌ๏ธ
goo.gle/3IZ6SKQ -
Lit
@buildWithLit
โ Where do I put my async work in Lit?
In this video, @techytacos dives into @ lit-labs/task, a package that makes your async code faster to write.
Watch for an overview and more! โฌ๏ธ
www.youtube.com/watch?v=niWKuGhyE0M -
Lit
@buildWithLit
๐ฅ What is @ lit-labs/observers?
A tiny package that makes it easy to hook up browser observers in Lit.
๐ Join @youCodeThings for an overview, demos, package status and more! โคต๏ธ
youtu.be/g_9PVegjQuw -
Lit
@buildWithLit
๐Want to seamlessly integrate Web Components to React apps?
This video covers @ lit-labs/react, a package under development in Lit Labs.
Watch for an overview, use cases, package status and more! โฌ๏ธ
www.youtube.com/watch?v=agBn1LW6dbM -
Lit
@buildWithLit
In this video, @kevinpschaaf covers framework wrapper generators, a feature of the Lit CLI under development in Lit Labs.
Watch for an overview, benefits, use case, status and more! โฌ๏ธ
youtu.be/CL_3TLFkwNE -
Lit
@buildWithLit
๐ก Lit Tip: Simplify your CSS by using plain tag name and ID selectors. Because styles are scoped to shadow roots, they won't leak or conflict with other elements on the page!
These selectors are totally safe in shadow DOM!
p { margin-top: 1em; }
#content { padding: 8px; } -
Lit
@buildWithLit
In this video, @augustjkim covers @ lit-labs/ssr, Lit's server-side rendering package under development in Lit Labs.
Watch for an overview, demos, testing, project status and more! โฌ๏ธ youtu.be/_xcIEx2P8nk -
Lit
@buildWithLit
๐ผ In this video, @justinfagnani covers @ lit-labs/context, a package under development in Lit Labs.
Watch for an overview, an explanation of the underlying #webcomponents Context Protocol, use cases, demos, package status and more! โ goo.gle/3WiJ08d -
Lit
@buildWithLit
๐ก Lit Tip: You can declare styles separate from your custom-elements, so you can share them between multiple components:
-
Lit reposted
Serhii Kulykov ๐บ๐ฆ
@serhiikulykov
Great example of using @vaadin web components and @buildWithLit!
Vesa Nieminen
@vesanieminen
Insane stats. In the past 30 days liukuri.fi has had over 104k unique visits and almost 300k page views.
It means that roughly every 50th person in Finland has used the app in the past 30 days. That's not really the case due to multiple devices of course. Still fun. -
Lit
@buildWithLit
๐ You can try Lit without installing a single dependency! No npm installs.
Visit lit.dev/playground to see more โ -
Lit
@buildWithLit
๐ If you need to wait for some data to load, check out the built-in "until" directive. It easily allows showing a loading template while a promise resolves.
See a sample in the playgroundโฉ goo.gle/3k0GeqP -
Lit
@buildWithLit
๐ก Did you know Lit automatically binds event listeners?
This means:
๐ Simple event binding syntax
๐ง Less memory overhead than an instance property
๐ Less GC thrashing than an inline closure -
Lit
@buildWithLit
๐ก Directives can extend Lit by customizing the way an expression renders declaratively! Not only does Lit come with many built-in directives (classMap, repeat), but you can create your own!
Build one with this tutorial โก๏ธ goo.gle/3QuhUKl -
Lit
@buildWithLit
๐งฐ How cool is this - Chrome DevTools is #builtwithlit!
From the elements panel, to the #css inspector, DevTools uses Lit's declarative templating system for a better DX and fast performance. -
Lit
@buildWithLit
๐ ๏ธ Interested in trying Lit but don't know where to begin? Try our starter kit and see how #webcomponents can empower your development โ goo.gle/3VasKFG
-
Lit reposted
Begin
@begin
๐ก Using Lit Components in an Enhance App
@buildWithLit is a popular library that can be used to build web components. Lit can play nice with @enhance_dev with a little modification.
by @macdonst
blog.begin.com/posts/2022-12-15-using-lit-components-in-aโฆ -
Lit reposted
Serhii Kulykov ๐บ๐ฆ
@serhiikulykov
Today we released React wrappers for Vaadin web components, powered by @buildWithLit Labs React. Check it out: npm i @hilla/react-components
hillaframework
@hillaframework
Get ready to level up your #react game! We just released Hilla 1.3 with support for React ๐
Build #springboot web apps faster than with React alone thanks to type-safe server communication, zero-config build tooling, and 45+ UI components.
hilla.dev/blog/hilla-1-3-adds-react-support/ -
Lit reposted
Elliott Marquez
@techytacos
The recording with @claviska and @justinfagnani is up!
Lots of Twitter technical difficulties, but it was a great chat about:
- @shoelace_style
- @fontawesome
- Web Components
- @buildWithLit
- icon loading techniques
- web standards
- and Pecan Pie ๐ฅง -
Lit
@buildWithLit
โ๏ธ We'll be LIVE on Twitter Spaces in 10 minutes with with @techytacos, @justinfagnani and @shoelace_styleโs @claviska!
Don't forget to submit your questions belowโ x.com/i/spaces/1jMJgLDvPbXxL -
Lit
@buildWithLit
๐ฆ Weโve released a new version of Lit, adding a development Node build to the package!
This release also includes improvements to several Lit Labs packages: virtualizer, context, ssr, react, and analyzer.
Lit
@buildWithLit
This virtualizer release includes big improvements to scrolling, some major cleanup as we work toward graduation from Labs, and an experimental new masonry layout.
Donโt get too excited about the nice, round number, thoughโweโve just changed our versioning scheme! -
Lit
@buildWithLit
๐ ICYMI: Weโre hosting a pop-up Twitter Spaces event on Tuesday with @techytacos, @justinfagnani and @shoelace_styleโs @claviska!
Mark your cals and chat about #webcomponents in other frameworks, Font Awesome and more.
Questions? Leave them below โ x.com/i/spaces/1jMJgLDvPbXxL -
Lit
@buildWithLit
๐ค Surprise! Weโre hosting a pop-up Twitter Spaces event next Tuesday with Googles @techytacos, @justinfagnani and @claviska, author of @shoelace_style!
Join us and chat about #webcomponents in other frameworks, Font Awesome and more!
Mark your cals โ x.com/i/spaces/1jMJgLDvPbXxL -
Lit
@buildWithLit
๐ We love to see it! Lots of people are asking how to use @tailwindcss with Shadow DOM. James gives Lit developers an answer with @PostCSS!
James Garbutt
@43081j
postcss-lit 1.0 has been published ๐ you can use it to preprocess your @buildWithLit CSS templates (e.g. tailwind, stylelint, sass, etc) github.com/43081j/postcss-lit
-
Lit
@buildWithLit
Wrap your Lit components as well with the @ lit-labs/react package!
For more info, check out the Lit Labs Lowdown livestream: goo.gle/3H8brC8
Serhii Kulykov ๐บ๐ฆ
@serhiikulykov
Vaadin components now have React wrappers powered by @buildWithLit Labs React! Check out the beta and stay tuned for stable release soon.
-
Lit
@buildWithLit
๐ค What state management solution is your favorite to use alongside Lit?
-
Lit
@buildWithLit
๐ฅ Fun fact: todayโs awesome #googledoodle was #builtwithlit!
Google Doodles
@GoogleDoodles
Gaming really leveled up when Jerry Lawson entered the chat ๐น
Lawson led the team that developed the first home video gaming system, which paved the way for modern game consoles.
Play todayโs interactive game #googledoodle & learn more about his life โ goo.gle/3VDA5hP -
Lit
@buildWithLit
๐ผ๏ธ We told you how @Adobe Photoshop for the web is #builtwithlit. The UI uses Adobe's beautiful open-source Spectrum design system #webcomponents, which also power their other web apps like Lightroom.
Check out the components here โ goo.gle/3OU23Ul
Lit
@buildWithLit
Spectrum includes components not found in many design systems that help you build advanced editing applications, like this color wheel!
-
Lit
@buildWithLit
๐ฅ๐ฅ๐ฅ
Lars Knudsen โฅ๏ธ๐บ๐ฆ in ๐ฉ๐ฐ
@denladeside
People often ask me what front end tech to use - and I found the answer on a beanie /cc @buildWithLit
-
Lit reposted
NWS Bay Area ๐
@NWSBayArea
Thankful for another amazing #sunset. ๐ Some might say it's Lit. Did we do that right? ๐ #cawx
-
Lit
@buildWithLit
๐ฅ This is LIT!
If you're a #javadeveloper, you may be interested in @hillaframework from our friends at @vaadin.
#builtwithlit, Hilla lets you write web UIs with databinding directly to #java backends.
Take a look โ hilla.dev -
Lit
@buildWithLit
๐ก Lit Tip: You can set event listener options on declarative event listeners with the @ eventOptions() decorator.
This is great for things like scroll and touch events where passive: true can increase browser scrolling performance.
Lit
@buildWithLit
We also have a plain JavaScript version!
Just pass an object to the binding with a `handleEvent` property containing the listener function and add any other event options. -
Lit reposted
Justin Fagnani
@justinfagnani
Ooh... this looks like an amazing @buildWithLit component!
Tero Parviainen
@teropa
I've been missing a good parametric EQ for Web Audio in several projects recently. So I made one:
weq8
๐ Built using standard BiquadFilterNodes
๐ Web Component UI
๐ JS API for headless control
github.com/teropa/weq8This media couldn't be displayed. See it on the original post. -
Lit
@buildWithLit
โ๏ธ We'll be LIVE on Twitter Spaces in 45 minutes with Google's @techytacos, @justinfagnani and @eleven_tyโs @zachleat!
Don't forget to submit your questions belowโ x.com/i/spaces/1MYxNgeYaZLKw -
Lit
@buildWithLit
Wireit powers both the Lit and lit.dev repos!
Al Marks
@aomarks
New release of Wireit!
What's new in v0.7.3:
โญServices, for orchestrating long-running scripts
โญCascade, for more control over when scripts run
โญA new logo!
Wireit extends npm/pnpm/yarn to make existing scripts smarter and more efficient.
github.com/google/wireit
๐งต1/3 -
Lit
@buildWithLit
๐ Yet another design system #builtwithlit! This time the Clarity design system from @VMware.
Check it out โฎ goo.gle/3UNxr96 -
Lit
@buildWithLit
๐ ICYMI: We're hosting another Twitter Spaces event this week with our very own @techytacos and @justinfagnani and @eleven_tyโs @zachleat to discuss @WebC_omponents, #opensource, and more!
Save the date and reply to this tweet with q's โ x.com/i/spaces/1MYxNgeYaZLKw -
Lit
@buildWithLit
๐ICYMI: There's a new episode of Lit University with @techytacos!
Learn all about the Lit library and take a look at why Lit is perfect for creating shareable components, design systems, and full-fledged applications. โ goo.gle/3hvVLxw -
Lit
@buildWithLit
๐ฅ Ready for another Twitter Spaces chat with our Lit team?
Talk all things @WebC_omponents, #opensource, and more with @techytacos, @justinfagnani & @eleven_ty @zachleat.
Mark your cals and reply to this thread with your questions! โ x.com/i/spaces/1MYxNgeYaZLKw -
Lit
@buildWithLit
๐ lit.dev's interactive samples and tutorials are - of course - #builtwithlit and usable on any website with no special server required.
To add code editing to your site, check out the Playground Elements repo โ goo.gle/3TyOKJW
Lit
@buildWithLit
Check out the demo and configurator here โ goo.gle/3A4fbjr
-
Lit
@buildWithLit
.@bigandy is now up to 8 components. Great way to exercise building Lit components. Nice work!
-
Lit
@buildWithLit
๐In this beginner-friendly episode of Lit University, you'll learn all about the Lit library!
Take a look at why Lit is perfect for creating shareable components, design systems, and full-fledged applications. โ goo.gle/3Uhsxkr -
Lit reposted
Elliott Marquez
@techytacos
This first-impressions video on @buildWithLit by @AwesomeCodeClub was fantastic! I've been meaning to make this type of video of a vanilla WC to Lit element but could never get it this concise!
www.youtube.com/watch?v=tzDcgII7W14 -
Lit reposted
Elliott Marquez
@techytacos
In love with @straversi1's @buildWithLit cheat sheet with a fantastic domain!
lit.how -
Lit
@buildWithLit
๐ฌ โWeb components are part of the web. They are good for the web. We should be rooting for them.โ
Design system consultant and web designer @brad_frost talks all things #webcomponents in his latest blog โ
goo.gle/3Nt2MeA -
Lit
@buildWithLit
๐ Well this is pretty rad. Did you know @Adobe Photoshop for the web is #builtwithlit?
Learn more about its journey here โ goo.gle/3DRgdRh -
Lit
@buildWithLit
๐ Our very own Playground Elements are a great example of #webcomponents with awesome documentation โ check them out on Github or see them in action on lit.dev!
Craving more Lit content? Watch our latest Build it with Lit video โ goo.gle/3S9MNTv -
Lit
@buildWithLit
๐ฅ๐ฅ๐ฅ
Westbrook
@WestbrookJ
We build @Photoshop with opensource.adobe.com/spectrum-web-components/ leveraging the base class from @buildWithLit
PS itself, as well as a number of other products, leverage Lit directly. Some leverage Spectrum Web Components in frameworks like Vue or Angular, because #webcomponents and they can! -
Lit reposted
Elliott Marquez
@techytacos
The @buildWithLit team is working on first-class framework integrations with CLI-generated wrappers for your WCs
WCs work everywhere, but some FWs don't include some idiomatic features for WCs like type checking.
Check out the Lit Labs Lowdown for more:
www.youtube.com/watch?v=l6Gn5uV83sw -
Lit
@buildWithLit
@ lit-labs/context lets you provide data to entire component trees without data binding, and interoperably thanks to the WCCG Context Protocol!
Cory LaViska
@claviska
Really excited about this context module from @buildWithLit, especially since it's event-based and interoperable! www.npmjs.com/package/@lit-labs/context
-
Lit
@buildWithLit
POV: youโre a developer using the latest browser tech and someone asks you about build requirements.
-
Lit reposted
Simon Bluhm
@AnaestheticsApp
Pretty good run down of everything Lit Labs. Thought I would be most excited about SSR, but the talk about Task was pretty awesome. It will make working with async tasks in Lit so much easier!
Lit
@buildWithLit
๐ฃ Virtual Event announcement ๐ฃ
The Lit Labs Livestream starts in 10 minutes! Get the lowdown on the latest Lit Labs projects by joining us on YouTube at the link below:
www.youtube.com/watch?v=l6Gn5uV83sw -
Lit reposted
Elliott Marquez
@techytacos
That's a wrap! The recording is up on our YouTube channel linked in the tweet below!
Learn about what Lit Labs is, what each of the package does, and its current status. We'd like to get all of these ready for prod so we're looking for your feedback to get them over the line!
Lit
@buildWithLit
๐ฃ Virtual Event announcement ๐ฃ
The Lit Labs Livestream starts in 10 minutes! Get the lowdown on the latest Lit Labs projects by joining us on YouTube at the link below:
www.youtube.com/watch?v=l6Gn5uV83sw -
Lit
@buildWithLit
We are live!
Lit
@buildWithLit
๐ฃ Virtual Event announcement ๐ฃ
The Lit Labs Livestream starts in 10 minutes! Get the lowdown on the latest Lit Labs projects by joining us on YouTube at the link below:
www.youtube.com/watch?v=l6Gn5uV83sw -
Lit
@buildWithLit
๐ฃ Virtual Event announcement ๐ฃ
The Lit Labs Livestream starts in 10 minutes! Get the lowdown on the latest Lit Labs projects by joining us on YouTube at the link below:
www.youtube.com/watch?v=l6Gn5uV83sw -
Lit
@buildWithLit
๐งช Join us for a virtual event this Monday at 10AM PDT to learn all about Lit Labs!
Head to the live stream and sign up for notifications to make sure you don't miss it โ goo.gle/3MR7ZfL -
Lit
@buildWithLit
โ๏ธ Preet Shihn's Wired Elements feature a hand-drawn style, and they're #builtwithlit!
Wired Elements use @roughlib (also by @preetster) to randomly generate outlines and fills. No two are exactly the sameโjust like drawing by hand!
Check out the demo โ goo.gle/3yXOdcG -
Lit
@buildWithLit
If you missed our Twitter Spaces event this morning, don't worry! We've got you covered. You can listen to the recording below โ
Lit
@buildWithLit
โ๏ธ We'll be LIVE on Twitter Spaces in one hour with Google's @rodydavis and @justinfagnani and
@ING_news's @passle_ !
Don't forget to submit your questions belowโ x.com/i/spaces/1PlKQpwPwWYxE -
Lit
@buildWithLit
โ๏ธ We'll be LIVE on Twitter Spaces in one hour with Google's @rodydavis and @justinfagnani and
@ING_news's @passle_ !
Don't forget to submit your questions belowโ x.com/i/spaces/1PlKQpwPwWYxE -
Lit reposted
Westbrook
@WestbrookJ
Look at that, @OpenWc just shipped some "spread" directives for @buildWithLit: github.com/open-wc/open-wc/blob/master/packages/lit-helpeโฆ There are A LOT of considerations to keep in mind when leveraging them: open-wc.org/docs/development/lit-helpers/ but, otherwise; glhf!
-
Lit
@buildWithLit
๐ค What makes Lit different from some other front-end options? Itโs interoperable!
Lit uses the browser's component modelโso your elements will work anywhere #html works.
Want more awesome Lit content? Check out our latest Build it with Lit episode โ goo.gle/3ERSVN9 -
Lit
@buildWithLit
๐ง You're invited to a virtual event on Lit Labs this Monday at 10AM!
Join us to:
๐ฌ Learn about Lit Labs
๐ฆ Catch presentations on Lab packages
๐ฎ Hear about how you can shape the future of Lit
More details here โ lit.dev/blog/2022-10-18-lit-labs-event/ -
Lit
@buildWithLit
We can't wait to see what Cory does with @shoelace_style now that he'll be working on it full-time!
Cory LaViska
@claviska
Time to talk about the future of Shoelace.
It's been more than two years since the beta release of Shoelace 2.0, which was the first version of the project to ship Web Componentsโฆ
๐ cont'd -
Lit
@buildWithLit
๐ THURSDAY: Join Google's @rodydavis and @justinfagnani and @ING_news's @passle_ on Twitter Spaces to talk about all things #webcomponents, OSS and @astrodotbuild!
Mark your cals and submit your questions for the panel by replying to this tweet โ x.com/i/spaces/1PlKQpwPwWYxE -
Lit reposted
hillaframework
@hillaframework
In this tutorial, @marcushellberg shows you hands-on how to do optimistic UI updates with @buildWithLit in a @hillaframework project: www.youtube.com/watch?v=Ogi39vAJHa8
-
Lit
@buildWithLit
๐ ICYMI: We're hosting another Twitter Spaces event this week with longtime #webcomponents community member @passle_ of @ING_news!
Don't forget to reply to this tweet with questions you want answered during the chat โฌ
Lit
@buildWithLit
๐ Another Twitter Spaces event is headed your way!
Google's @rodydavis and @techytacos and @ING_news's @passle_ will be chatting about #webcomponents, OSS, & @astrodotbuild.
Reply to this tweet with your questions and don't forget to mark your cals! x.com/i/spaces/1PlKQpwPwWYxE -
Lit
@buildWithLit
#builtwithlit ๐ฅ
Shoelace
@shoelace_style
Over 100,000,000 monthly hits on @jsDelivr ๐คฏ
Thanks for using Shoelace. Amazing things are on the horizon!
www.jsdelivr.com/package/npm/@shoelace-style/shoelace -
Lit reposted
Storybook
@storybookjs
Wide ecosystem support
Storybook 7.0 has been refactored to make it easier to support all frameworks.
โ We've added support for Vue 2, Lit & SvelteKit
โ React, Vue 3, Svelte and others have been supported since 6.5
These all work with zero additional config!
6/ -
Lit
@buildWithLit
๐ Home Assistant, the most popular open source home automation system, was #builtwithlit!
@home_assistant runs locally on your own hardware (like a #rasperrypi), complete with light, temp and music control - and more.
Have a look here โ goo.gle/3ViNnRD -
Lit
@buildWithLit
Another million, letโs go!
Justin Fagnani
@justinfagnani
lit-html just passed 1M npm downloads a week ๐ฅณ
The template library that grew into Lit is now used to build Chrome OS and DevTools, Photoshop, Reddit, The Internet Archive and much more...
It's a fun ride with a great team and community! Looking forward to 2M/w next year! -
Lit
@buildWithLit
Tell us you're a web developer without telling us you're a web developer. We'll start:
-
Lit
@buildWithLit
๐ฉ What in the world do donuts and styling a Lit element have in common?
Find out in our most recent Build It with Lit episode with @youcodethings โ goo.gle/3Vh7cIV -
Lit reposted
Sathya Gunasekaran
@_gsathya
tachometer by the @buildWithLit folks is just so good
github.com/polymer/tachometer -
Lit
@buildWithLit
๐ Another Twitter Spaces event is headed your way!
Google's @rodydavis and @techytacos and @ING_news's @passle_ will be chatting about #webcomponents, OSS, & @astrodotbuild.
Reply to this tweet with your questions and don't forget to mark your cals! x.com/i/spaces/1PlKQpwPwWYxE -
Lit
@buildWithLit
๐ฌ Have you joined our Discord channel yet?
Whether you're new to Lit or an experienced user, Lit Discord is the spot to chat with the Lit community and the Lit team.
Check it out โ goo.gle/3SMNy5N -
Lit reposted
This Dot Media
@ThisDotMedia
Learn about some of the benefits of #lit and how to build a lightweight component with this write-up by @iNidAName!
www.thisdot.co/blog/building-a-lightweight-component-withโฆ -
Lit
@buildWithLit
Our very own @techytacos sat down with full-stack JavaScript developer @Dominus_Kelvin to teach him all about #webcomponents and how easy it is to use Lit!
Check it out โ goo.gle/3ync7y3 -
Lit
@buildWithLit
๐ฃAnnouncing Lit 2.4.0! This release includes an environment checker for writing SSR-compatible components, plus improvements to labs packages including observers, react, and task!
Changelog: github.com/lit/lit/releases
Lit
@buildWithLit
Lit
@buildWithLit
-
Lit
@buildWithLit
๐ข Love Bootstrap and want an easy-to-use component set that's compatible with web frameworks? Take a look at Shoelace!
@shoelace_style is a professionally designed library of #webcomponents #builtwithlit!
Install the components here โ goo.gle/3CCw0DS
Lit
@buildWithLit
Works with all frameworks ๐งฉ
Works with CDNs ๐
Fully customizable with CSS ๐จ
Includes a dark theme ๐
Built with accessibility in mind โฟ๏ธ
First-class React support โ๏ธ
Built-in localization ๐ฌ
Open source ๐ธ -
Lit reposted
Christian Bromann
@bromann
Iโve build a @code extension that helps creating issues that are connected to one or multiple code sections to help create context for contributors: github.com/stateful/vscode-issue-explorer .. all UI elements in webviews are @buildWithLit ๐
-
Lit reposted
Jarred Sumner
@jarredsumner
Safari is prototyping declarative Shadow DOM
github.com/WebKit/WebKit/pull/4693 -
Lit reposted
Passle
@passle_
Ive heard that web components are very good actually, so Iโve decided to give a workshop on them at @FrontMania tomorrow
-
Lit
@buildWithLit
๐ผ๏ธ What app frameworks have you integrated Lit components with? Reply to this tweet and let us know! โ
-
Lit
@buildWithLit
๐ฅ๐ฌ๐ฟ New Build it with Lit episode!
How do you style a #webcomponent to suit your needs? In this episode, @youcodethings demonstrates the benefits of encapsulated #css and adds a flexible, public styling #api to a carousel component.
Watch โ goo.gle/3Cq9azl -
Lit
@buildWithLit
What a great chat - we love showing off how easy it is to use Lit!
K.O.O
@Dominus_Kelvin
And it's live! Learn @buildWithLit and Web Components literally from scratch with @techytacos in this TKYT session.
youtu.be/j9rn2180mNI -
Lit
@buildWithLit
Nice work!
-
Lit
@buildWithLit
๐จ Lots of great design systems are #builtwithlit!
@JSTOR, the massive digital academic library, builds their Pharos design system with Lit to provide a cohesive, supportive, and beautiful experience for users.
See their component catalog here โจ goo.gle/3Cmq3Ln -
Lit reposted
Daniel de Wit
@danielwit
Made a calculator with @buildWithLit in just a few hours. Very nice to build without any build or preprocessing tools and it's awesome knowing that this can easily be refined into production-grade code. I feel this will enable designers to prototype so much more in code.
-
Lit
@buildWithLit
๐จ Time to head to the digital arts lab and open up your browsers to Adobe's Lit-MobX!
Check out the state management library that helped make @Adobe photoshop for the web possible! Get it here โ goo.gle/3fpeVE9 -
Lit
@buildWithLit
โฐ ICYMI: we're now on Discord!
Here's what we like best about the platform โ goo.gle/3BVHQHU
Link to join below โ
Lit
@buildWithLit
๐ JUST LAUNCHED: a brand new Lit Discord server!
Whether you're new to Lit or an experienced user, Lit Discord is the spot to chat with the Lit community and the Lit team.
Join here โ goo.gle/3BhPddv -
Lit
@buildWithLit
โ What are your favorite technologies (platform features, libraries, tools, frameworks, etc) that you useโor want to useโwith Lit? Why?
-
Lit
@buildWithLit
๐ค Already looking for some extra credit?
Check out @ApolloElements - a state management library - to take your web-component-based apps to the next level โ goo.gle/3qXWpFs -
Lit
@buildWithLit
๐ Whoa! <model-viewer> is #builtwithlit and we can't get enough of it.
You can easily display interactive 3D models on the web & in AR - follow these steps to test it out โฎ goo.gle/3SrVQ2m -
Lit reposted
Andrico Karoulla
@AndricoKaroulla
Stoked to share my first piece with @smashingmag ๐ป
Dive deep into @buildWithLit by building a Windows2000-style draggable window.
Super ๐ฏ shoutout to @techytacos for being a wonderful technical review.
www.smashingmagazine.com/2022/09/building-retro-draggableโฆ -
Lit reposted
TonySpegel
@TonySpegel
One component and three ways to compare images:
a slider, an overlay and a split view. Had lots of fun building this ๐ - as always it's @buildWithLit
#webcomponents #buildwithlit
github.com/TonySpegel/image-comparison -
Lit
@buildWithLit
๐ Time for an in-class exercise!
One of the most compelling uses of Lit's Reactive Controllers is the integration of state manager logic across components.
Try out this Redux Controller integration to see how it works โฎ goo.gle/3Ur8YHa -
Lit
@buildWithLit
๐ก Tip of the week: For syntax highlighting, jump to definition, and hover over docsโtry lit-plugin โ goo.gle/3R3bS1I
-
Lit reposted
Justin Fagnani
@justinfagnani
SO many kudos to @techytacos for writing the awesome bot to search our docs from directly within the @buildWithLit Discord! ๐
-
Lit
@buildWithLit
๐บ Summer band camp was such a blast! Just because school's back in session doesnโt mean the fun has to stop.
Click here to play around with the Mediator Pattern for event-based coordination โ goo.gle/3BLBGLC -
Lit
@buildWithLit
โถ๏ธ <lottie-player> is a #webcomponent for easily embedding Lottie/After Effects animations anywhere you use #html... and it's #builtwithlit!
Check it out โ goo.gle/3qGySsB -
Lit
@buildWithLit
๐ Time to knock off the last thing on your summer reading list!
Dig into @pmdartus's complete guide on how events work within Shadow DOM โ goo.gle/3qBhLIK -
Lit reposted
Justin Fagnani
@justinfagnani
@preactjs Signals are awesome! ๐ Very small API that just works. A great addition to the simple reactive store ecosystem.
So... I prototyped Lit integration ๐ฅ
Here's a mixin that lets any component track signals & render when they change
Check it out:
lit.dev/playground/ -
Lit
@buildWithLit
๐บ It's everyone's favorite day at school - movie day!
In this short โmovieโ, follow along as Software Engineer @techytacos shares techniques for coordinating #webcomponents with native events.
Watch โก goo.gle/3Ba5SOL -
Lit
@buildWithLit
๐ก Tip of the week: Decorators are functions that add behavior to a class, class method or class field. The property decorator turns a standard class field into a Lit reactive property.
Learn about Lit decorators โ goo.gle/3d5dZ7s -
Lit
@buildWithLit
๐ We'll be LIVE on Twitter Spaces in one hour with Google's @rodydavis and @techytacos and special guests @Github's @Keithamus and @koddsson!
Submit your questions belowโ x.com/i/spaces/1OyKAVMXWLwGb -
Lit reposted
Justin Fagnani
@justinfagnani
"Intergenerational JavaScript" ๐
@notreallyisa coining a killer phrase while incrementally upgrading a mature production jQuery site (that happens to be archive.org !) into modern times with @buildWithLit and web components.
archive.org/details/isa-herico-presentation -
Lit
@buildWithLit
๐ FRIDAY: Join Google's @rodydavis and @techytacos and special guests @Github's @Keithamus and @koddsson on Twitter Spaces!
Don't miss it!
Lit
@buildWithLit
๐ We're excited to announce our second Twitter Spaces event happening next week!
Google's @rodydavis and @techytacos will be joined by special guests @Github's @Keithamus and @koddsson.
Mark your cals! x.com/i/spaces/1OyKAVMXWLwGb -
Lit
@buildWithLit
๐ In honor of back to school month, weโre kicking off a fun series of content around Elements and Events - sponsored by Lit University!
Your first assignment: watch Software Engineer @techytacos and learn more about the basic building block of the web โก๏ธ goo.gle/3KT5l8l -
Lit
@buildWithLit
๐ JUST LAUNCHED: a brand new Lit Discord server!
Whether you're new to Lit or an experienced user, Lit Discord is the spot to chat with the Lit community and the Lit team.
Join here โ goo.gle/3BhPddv -
Lit
@buildWithLit
๐ฃ We love a shoutout!
In this @ThePracticalDev blog, author @RobertTate87 explains why he took Lit out for a spin and why you should, too โ goo.gle/3cL0XMg -
Lit
@buildWithLit
๐ ICYMI: We're hosting a Twitter Spaces event this Friday!
Details below โฌ
Lit
@buildWithLit
๐ We're excited to announce our second Twitter Spaces event happening next week!
Google's @rodydavis and @techytacos will be joined by special guests @Github's @Keithamus and @koddsson.
Mark your cals! x.com/i/spaces/1OyKAVMXWLwGb -
Lit
@buildWithLit
๐ก Tip of the week: Lit templates can include dynamic #javascript expressions.
There are six types of expression: child, attribute, boolean attribute, property, event listener, and element!
Learn more about them here โ goo.gle/3cLuhlA -
Lit reposted
Marius Vatasoiu
@MariusVatasoiu
Building a web component with @buildWithLit for an animated icon. By default, it has a loading state and can be switched programmatically to other states.
Can also be used directly in a specific state. -
Lit
@buildWithLit
๐ We're excited to announce our second Twitter Spaces event happening next week!
Google's @rodydavis and @techytacos will be joined by special guests @Github's @Keithamus and @koddsson.
Mark your cals! x.com/i/spaces/1OyKAVMXWLwGb -
Lit reposted
Bradston Henry
@BradstonDev
We all love us some #react but I'm solidly thinking about implementing @buildWithLit in a new pet project I've been working on. I got some ideas for you #lit!
This Blog by Robert Tate on @ThePracticalDev really got me thinking ๐ค
dev.to/devsatasurion/react-is-greatbut-you-should-try-litโฆ -
Lit
@buildWithLit
๐ Earlier this year, we introduced our new tutorials catalog!
๐ฅ Learn Lit with hands-on tutorials
๐ฅ Take step-by-step deep-dives on more topics
๐ฅ Build things that are LIT right from your browser
Browse the page โ goo.gle/3TtGHiw -
Lit
@buildWithLit
โฐ Our first Lit Community Call of the day starts in 20 minutes!
Details below โ
Lit
@buildWithLit
๐ Weโre excited to announce our second Lit & Friends Community Call THIS Wednesday at two times: 9:30am PDT and 9:30pm PDT!
Chat with members of our team, talk about all things Lit, and suggest your own topics - click below to add your agenda items โ goo.gle/3Q3JyvE -
Lit reposted
Elliott Marquez
@techytacos
The first official @materialdesign Material You web library is up on NPM and it's @buildWithLit and should be SSR ready!
Test it out! ๐ฅฝ๐งช๐ฌ
KฮNNETH ใป ใฑใใ
@kennethrohde
Yay ๐ a peak at the new Material Web Components!
lit.dev/playground/
www.npmjs.com/package/@material/web -
Lit
@buildWithLit
๐ Weโre excited to announce our second Lit & Friends Community Call THIS Wednesday at two times: 9:30am PDT and 9:30pm PDT!
Chat with members of our team, talk about all things Lit, and suggest your own topics - click below to add your agenda items โ goo.gle/3Q3JyvE -
Lit
@buildWithLit
๐ก Tip of the week: Define a Lit component by creating a class extending `LitElement`, and registering it with the browser!
Learn more โ goo.gle/3e7B7Cp -
Lit
@buildWithLit
๐ธ๏ธ Elements are the web browserโs built-in component model.
๐บ In this video, Software Engineer @techytacos demonstrates what elements are, how they're made, and how you can interact with them.
Watch โก๏ธ goo.gle/3KmamWN -
Lit
@buildWithLit
๐ป Lit makes it easy to create #webcomponents, giving you:
๐จ A fast, declarative #html template system
๐ฎ Reactive property declarations
โ๏ธ A customizable reactive update lifecycle
...and more!
Get Lit on npm โฉ goo.gle/3dV6dgq -
Lit reposted
darn.es
@DavidDarnes
Here's my slides from my Web Components talk I did for @BristolJS last night. Includes links for @buildWithLit, other examples from @zachleat & @davatron5000 as well as links for our design system:
slides.com/daviddarnes/tabs-web-components -
Lit
@buildWithLit
๐ Share live code snippets and demos online with the click of a button, or quickly test out a new idea in the Lit playground!
Try it out โ goo.gle/3PIoOt6 -
Lit reposted
Elliott Marquez
@techytacos
Do you have a web app running on a legacy framework or library? Are your devs experiencing fatigue and churn by updating the ugly code and a rewrite is just too much work to consider?
This is where @buildWithLit comes in. With WC interop you can update only what you need! -
Lit
@buildWithLit
๐ก Tip of the week: The connectedCallback lifecycle method is invoked when a custom element is added to the DOM.
Use it for tasks like adding event listeners outside the component. For example, adding a keydown listener on window.
Learn more โฌ goo.gle/3R4LEMz -
Lit
@buildWithLit
๐จ @DavidDarnes discusses how @NordhealthHQ approaches styling #webcomponents using #css Custom Properties, and how design systems and component libraries can benefit from custom properties.
Dig in โ goo.gle/3ADAoS0 -
Lit reposted
Joonas Lehtinen
@joonaslehtinen
A great demo of the magical @hillaframework by @marcushellberg. Shows how the symbiosis of @vaadin components, @buildWithLit, @springboot, @java and @typescript can make you super productive in building modern single page web apps.
www.youtube.com/watch?v=J8LNsq15ZzE -
Lit
@buildWithLit
๐บ Build It with Lit: How to Build A Carousel
In this episode, Software Engineer @youcodethings builds a simple-carousel using Lit, passing child DOM into a #webcomponent and demonstrating simple web component composition โ goo.gle/3QVJq2j -
Lit reposted
Chrome for Developers
@ChromiumDev
A new article by @DavidDarnes digs into how CSS custom properties can work with web components to enhance a design system or pattern library.
Get all the details โคต
web.dev/custom-properties-web-components/ -
Lit reposted
btopro
@btopro
Start of a new series: Building micro frontends with @vercel + @buildWithLit
I'll provide code, recommendations, demos, and rationale as I step through how we are developing a #webcomponent centric approach to microfrontend development.
dev.to/btopro/building-micro-frontends-with-vercel-lit-45oe -
Lit
@buildWithLit
๐ฅ Lit can now be safely imported in #nodejs, making it easy to use Lit components in SSR-by-default frameworks like Next.js.
Out of the box, Lit components fully render only on the client, but we're working to integrate Lit SSR with Next.js, and other frameworks tooโstay tuned! -
Lit
@buildWithLit
๐ Getting started with Lit is easy with this in-browser tutorial!
It's an excellent introduction to building fast and lightweight web components with declarative templates and reactive properties.
Get started without downloading anything โ goo.gle/3dwyedX -
Lit
@buildWithLit
๐ค How can you manage complexity while organizing code into reusable pieces? Composition can help!
Try these options with Lit:
๐ Component composition
๐น๏ธ Reactive controllers
๐ฅฃ Class mixins
Learn more โ goo.gle/3SQm4gk -
Lit
@buildWithLit
๐ท๏ธ A Lit template is mostly plain, declarative #html, wrapped in a #javascript template literal.
Learn more about Lit templates โ goo.gle/3p7ONPN -
Lit
@buildWithLit
๐ป Define a Lit component by creating a class that extends LitElement, and registering it with the browser!
Dig in and learn more here โฉ goo.gle/3JKrq8w -
Lit
@buildWithLit
๐ฅ What is a Lit component? Itโs a reusable, custom #html Element!
To learn how to create one, check out our overview - complete with an example โ goo.gle/3BVU3h3 -
Lit reposted
Fabio Biondi
@biondifabio
I have published the first 6 videos of my new free course to create web components using the Google Lit ( @buildWithLit ) and how to publish them on @npmjs .
The course includes videos to understand how to use them in VanillaJS, Angular 14 and React 18.
www.youtube.com/playlist?list=PLUioGv_6G9YK-St5GcrI8pm-Oxโฆ -
Lit
@buildWithLit
Wondering how to use @PostCSS and @tailwindcss with Lit? @43081j breaks down what you need to know โ
James Garbutt
@43081j
You can now use postcss, @tailwindcss and stylelint with @buildWithLit components - much simpler setup than in the past made possible by postcss custom syntaxes dev.to/43081j/using-tailwind-postcss-and-stylelint-with-lโฆ #javascript
-
Lit
@buildWithLit
๐งฐ Create fast, lightweight #webcomponents quickly and easily with Lit!
Lit's tiny, fast, and expressive template system works with LitElement, a base class that provides reactive state, scoped styles, and great DX โ goo.gle/3P9vxvR -
Lit
@buildWithLit
๐ In this Lit University episode, we discuss using events to communicate across #webcomponents with Lit Software Engineer @techytacos!
Discover how the Mediator Pattern can help web components communicate in most environments โ goo.gle/3vPPYak -
Lit reposted
Cory LaViska
@claviska
Converters in @buildWithLit can be used to convert attributes <==> properties. Here's an example that turns a space-separated attribute to an array property.
In this case, the property will always be an array and the attribute will always be a string. -
Lit
@buildWithLit
๐ค Our very own @justinfagnani will be joining @ThisDotMedia's State of the Web Components panel tomorrow morning at 9AM PDT!
Sign up โ goo.gle/3JL7EtB -
Lit
@buildWithLit
Lit makes it easy to build #webcomponents, and Lit's tools and features makes it easy to build:
๐ป Sharable Components
๐ป Design Systems
๐ป Sites and Apps
Learn more and get started here โ goo.gle/3P2Vsp0 -
Lit
@buildWithLit
โถ๏ธ Starting with Lit is easy!
Use our Playground or interactive tutorial or install it into an existing project.
Get started โฌ goo.gle/3vC943V -
Lit reposted
This Dot Media
@ThisDotMedia
๐๐ผDid you hear? Justin Fagnani is joining us for the State of Web Components panel!
๐คฏ @justinfagnani is a Staff Software Engineer @google @buildwithlit
๐ฅ We'll be discussing web component use cases and more!
More info: www.thisdotmedia.com/state-of-the-web/state-of-web-componโฆ -
Lit
@buildWithLit
๐งฐ Lit gives #developers the tools they need to quickly create fast #webcomponents:
๐ ๏ธ Fast declarative #html template system
๐ ๏ธ Reactive property declarations
๐ ๏ธ Customizable reactive update lifecycle
and more!
Download the package โฌ goo.gle/3Sl4ctK -
Lit
@buildWithLit
๐ Whats your favorite thing about using Lit?
Reply to this tweet and let us know! โฌ -
Lit
@buildWithLit
๐ฅ "I don't always use inheritance for composition, but when I do, I use #mixins."
Component composition and Reactive Controllers are awesome, but occasionally a mixin is just what you need.
Not sure when? Here's some guidance โฌ goo.gle/3zii3bl -
Lit
@buildWithLit
What if you want to build a component out of smaller pieces that aren't themselves components? That's where Lit's Reactive Controllers come in.
Click to learn about:
๐ Using a controller
โ๏ธ Writing a controller
๐ก Use cases
Check it out โก๏ธ goo.gle/3oI22qp -
Lit
@buildWithLit
๐ Looking for a way to organize your code into reusable pieces while managing complexity? Composition can help!
There are lots of ways to do composition with Lit, including:
๐ Component composition
๐น๏ธ Reactive controllers
๐ฅฃ Class mixins
Learn more โฌ goo.gle/3PR8Az2 -
Lit
@buildWithLit
๐น๏ธ One of the most compelling uses of Lit's Reactive Controllers is the integration of state manager logic across components.
See an example here โฎ goo.gle/3BlnNDX -
Lit
@buildWithLit
๐ Component composition is the most common method of factoring Lit code and managing complexity.
It's easy to make a more complex custom element out of built-in #html elements and simpler custom elementsโjust add them to your template!
Learn more โฎ goo.gle/3zeU9O7 -
Lit
@buildWithLit
๐ Have you browsed our tutorial catalog yet?
๐ Learn Lit features and concepts
๐ ๏ธ Build cool stuff with Lit
and moreโall in an easy, step-by-step format!
Check it out โฌ goo.gle/3zlpyhY -
Lit
@buildWithLit
๐ฅ We're launching an RFC process for Lit!
You can find the proposal here (and don't forget to leave your feedback!) โฌ goo.gle/3cL2p0q -
Lit
@buildWithLit
๐ Lit v2.2.8 has better support for newer versions of #typescript.
There are also updates to lit-labs/react, lit-labs/virtualizer and lit/localize-tools!
Changelog: goo.gle/3yY0jC1 -
Lit reposted
darn.es
@DavidDarnes
Hey, wanna hear me talk about how we use @buildWithLit & Web Components at @NordhealthHQ?
If so I'll be doing a talk at @BristolJS on the 27th of July. Sign up here:
www.meetup.com/bristoljs/events/287159229/ -
Lit
@buildWithLit
What Lit tutorial do you want to see us tackle next? Let us know in the thread! โฌ
-
Lit
@buildWithLit
๐ฉโ๐ญ๏ธ Lets learn some Lit fundamentals and build a Word Viewer!
In this tutorial, you will create your own custom #html element.
Learn more โ goo.gle/3Pd3Kv8
Watch the companion tutorial โ goo.gle/3PlxupB -
Lit reposted
darn.es
@DavidDarnes
That was fun! If you missed me, @Jack_Franklin and @philhawksworth chatting about Web Components you catch the recording here:
www.youtube.com/watch?v=GxDSd8iv__M
โจBonus content! @buildWithLit has an @eleven_ty plugin to pre-renders lit web components at build time
github.com/lit/lit/tree/main/packages/labs/eleventy-plugiโฆ -
Lit
@buildWithLit
๐ ICYMI: Weโve released a new version of Lit, along with lit-labs/analyzer, lit-labs/eleventy-plugin-lit, lit-labs/react, lit-labs/router, lit-labs/ssr, and a brand new lit-labs/testing package!
Changelog: goo.gle/3Pc4XmwPost not available here, view on X
Lit
@buildWithLit
Lit
@buildWithLit
-
Lit
@buildWithLit
๐ Tutorial: Build an Animated Carousel Element!
In this tutorial, you'll learn how to build the mechanics of a simple carousel with the @ lib-labs/motion package's animate directive.
Take it for a spin here โ goo.gle/3nJeeqd -
Lit
@buildWithLit
๐บ What do you want to see from us in the next Lit University episode? Reply to this tweet and let us know!๐๐ฟ๐๐พ๐๐ฝ๐๐ผ๐๐ป
-
Lit
@buildWithLit
๐ฅ The new lit-labs/testing package contains utilities to help test your Lit components rendered server-side! Itโs designed to work with @modern_web_devโs Web Test Runner.
Check it out here: goo.gle/3QXVlgO -
Lit
@buildWithLit
๐ Weโve released a new version of Lit, along with lit-labs/analyzer, lit-labs/eleventy-plugin-lit, lit-labs/react, lit-labs/router, lit-labs/ssr, and a brand new lit-labs/testing package!
Changelog: goo.gle/3bzo6A9 -
Lit reposted
Vaadin
@vaadin
Learn how to create a custom component with @buildWithLit in the latest Vaadin tutorial: blog.vaadin.com/creating-a-custom-component-with-lit?hss_โฆ
#vaadintutorial #buildwithlit #component #designsystem #webcomponents #javadeveloper #javaframework -
Lit
@buildWithLit
๐ Tutorial: Repeat patterns with SVG!
In this lesson, you'll learn how to create visually expressive components with Lit and SVG.
Dig in โ goo.gle/3Nr16Rd -
Lit
@buildWithLit
๐งฐ Tutorial: Build a tooltip element!
In this lesson, you'll create a simple tooltip element that supports lazy creation for fast initial page rendering using advanced Lit rendering techniques.
Get started โ goo.gle/3zSaqKI -
Lit
@buildWithLit
๐ค What type of Lit content would help you with your day-to-day as a developer? Reply to this tweet and let us know! ๐๐ป๐๐ผ๐๐ฝ๐๐พ๐๐ฟ
-
Lit
@buildWithLit
๐ซถ What an awesome explanation of Lit by web developer @stolinski of @LevelUpTuts!
Watch to learn about Lit โฌ๏ธ goo.gle/3QD7HLh -
Lit
@buildWithLit
๐ Weโve released a new version of Lit, along with updates to @ lit/localize, @ lit-labs/react, and @ lit-labs/context!
Changelog โ goo.gle/3MUBs6X -
Lit
@buildWithLit
๐ฉโ๐ป๏ธTutorial: Custom attribute converters!
In this tutorial, youโll learn:
โWhat is an attribute converter?
โHow Lit handles attribute conversion.
โHow to accept complex data as an attribute.
Learn moreโ goo.gle/3MPvZhZ -
Lit
@buildWithLit
๐๏ธ Tutorial: Intro to AsyncDirectives!
You'll learn:
๐ป How to make a basic Directive
๐ป What advanced use cases AsyncDirective can enable
..and more!
Check it out โฎ goo.gle/3xEPLID -
Lit
@buildWithLit
Huge thanks to everyone who joined our very first Lit Community Call this morning!
If we didnโt catch you today, donโt worry - weโll be hosting more calls in the future.
Stay tunedโฆ -
Lit
@buildWithLit
๐ REMINDER: Our first ever Lit Community Call happens in less than an hour at 9:30AM PST!
More infoโ
Lit
@buildWithLit
๐ THIS THURSDAY at 9:30AM PST: Join our first Lit and Friends Community Call!
Connect with members of the Lit team to talk about topics like #webcomponent standards, tooling such as Open WC, and more.
More info here โฌ goo.gle/3Q3GqRN -
Lit
@buildWithLit
๐๏ธ Tutorial: Working with Lists!
Learn how to take a list of items and render it on the page in multiple ways.
Learn more: goo.gle/3NAvB7U -
Lit reposted
Sean Voisen
@svoisen
Constructable stylesheets shipping in Firefox 101 ๐ Work on this started nearly 3 years ago but didn't ship while details of the spec were still reaching consensus.
Sometimes the web takes time, but that's not a bad thing.
Thanks Erik and @ecbos_!
developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releasesโฆ -
Lit
@buildWithLit
๐ THIS THURSDAY at 9:30AM PST: Join our first Lit and Friends Community Call!
Connect with members of the Lit team to talk about topics like #webcomponent standards, tooling such as Open WC, and more.
More info here โฌ goo.gle/3Q3GqRN -
Lit
@buildWithLit
๐ In Lit 2, we introduced reactive controllers, a concept for code reuse and compostiion.
Click to learn about:
โ๏ธ Using a controller
โ๏ธ Writing a controller
โ๏ธ Use cases
Check it out โก๏ธ goo.gle/3xbbnuK -
Lit
@buildWithLit
โจ Join our communities on Slack and GitHub Discussions!
๐ป The Lit & Friends Slack workspace has thousands of members discussing Lit, #webcomponents, and related topics.
Check out #open-wc, #beginners, or #tools to get started. ๐ goo.gle/3Q5yzTR
Lit
@buildWithLit
GitHub Discussions is a great space to:
โ Connect with the team and community
โ Get into deeper discussions about Lit
... and more!
Check it out โฌ๏ธ goo.gle/3Q2RNtb -
Lit reposted
Justin Fagnani
@justinfagnani
We're going to hold our first Lit & Friends Community Call next Thursday at 9:30am PDT.
Come and chat with the Lit team and other community members!
github.com/lit/lit/discussions/2986 -
Lit
@buildWithLit
โจ New to Lit? This tutorial will help you get started!
๐ It's a great way to learn how easy it is to build fast and lightweight #webcomponents with a declarative template and reactive properties and make your first LitElement โก๏ธ goo.gle/3m6Wjcf -
Lit
@buildWithLit
Join one of our many Lit communities!
๐ Learn about Lit, share what you've built, and more with the many resources and locations we offer.
๐ Links to our many forums can be found here โก goo.gle/3ag19RU -
Lit
@buildWithLit
Check out this exciting new course from @davatron5000 to learn more about #webcomponents and Lit! ๐๐ป๐๐ผ๐๐ฝ๐๐พ๐๐ฟ
-
Lit
@buildWithLit
๐ICYMI: Last week, we published a new Lit release, with updates to @ lit-labs/context, @ lit-labs/analyzer, and @ lit-labs/router!
Changelogโ goo.gle/3a6ya2R
Lit
@buildWithLit
Lit
@buildWithLit
Lit
@buildWithLit
-
Lit
@buildWithLit
๐ค What is Lit?
๐ฉโ๐ป๏ธ Lit is an implementation detail of your components. From the outside they're just standard #webcomponents, usable anywhere #html is, and interoperable with frameworks and other web components โฌ๏ธ
Lit
@buildWithLit
๐ก Lit is familiar. Even if you're never worked with web components before, you'll feel right at home with declarative templates in JS, and functional rendering.
Learn more โก๏ธ goo.gle/3wE4e73 -
Lit
@buildWithLit
โWhat exactly is Lit?
๐ฅ๏ธ Lit is a simple library that helps you build #webcomponents with amazing DX for writing declarative templates and reactive properties. You can build just about any kind of web #ui with Lit!
Learn more โก goo.gle/38E7I00 -
Lit
@buildWithLit
Weโve published a new Lit release, with updates to @ lit-labs/context, @ lit-labs/analyzer, and @ lit-labs/router!
Changelog: goo.gle/3wA7gIoPost not available here, view on X
Lit
@buildWithLit
Lit
@buildWithLit
-
Lit
@buildWithLit
๐ Did we mis you at #googleio?
We've got you covered, you can see all the content on our website.
Watch tutorials, overviews, and more! โ goo.gle/3LcGESY -
Lit
@buildWithLit
๐ฅ We love seeing how people are using Lit.
This talk highlights how Adobe uses #webcomponents in their apps like Photoshop - all built with Lit! โ goo.gle/3NuIa4z -
Lit
@buildWithLit
Material Design
@materialdesign
What if you could generate custom variations of a typeface (every style, width, or weight) from a single font file? ๐คฏ
Well you can! Learn from @ljmacfadyen and @rodydavis in this demo. โ goo.gle/about-variable-type -
Lit
@buildWithLit
๐ผ Have you explored our new YouTube channels yet?
๐บ Lit University
๐บ Build It with Lit
Head on over to watch our overviews and tutorials - and don't forget to subscribe! โก๏ธ goo.gle/3yuBHlL -
Lit
@buildWithLit
๐ ๏ธ Build It with Lit presents: How to build your first Lit component!
Lit Software Engineer @youcodethings explains core Lit concepts, the LitElement lifecycle, attributes, state, styles,
Watch โ goo.gle/37I1Sui -
Lit
@buildWithLit
๐ What a good lookin' group!
๐คณ Thanks to everyone who showed up for our group picture in I/O Adventure.
Join us again for day 2 of #googleio โ goo.gle/3FCL58g -
Lit
@buildWithLit
๐ฅณ ICYMI: we announced the launch of our Tutorial Catalog!
Here's whats new:
โA one-stop-shop for learning Lit
โStep-by-step deep-dives on more topics
โBuild things that are LIT right from your browser
Check it out โ goo.gle/3l0dg7R -
Lit
@buildWithLit
๐ฉโ๐ญ๏ธ Roll up your sleeves and build with Lit without ever leaving your browser!
๐The Lit Playground is the best place to explore our features and create shareable examples.
Lets play โ goo.gle/3w4plPu -
Lit
@buildWithLit
๐ minutes until the Lit group photo in Adventure!
๐ฅ Grab your avatar and gather around the campfire to meet the team and other members of the web community. โ goo.gle/3Pq2hTc -
Lit reposted
David East
@_davideast
Living my best life. #googleio2022
-
Lit reposted
Elliott Marquez
@techytacos
Hanging out with an AFK @BenDelarre at #googleio adventure @buildWithLit campfire!
-
Lit
@buildWithLit
๐ I/O Adventure is now officially open!๐
Come join the Lit team and get answers to your #webcomponent questions, take our new Lit tutorials and more โก๏ธ goo.gle/39flaHy -
Lit reposted
Google for Developers
@googledevs
๐ฌ โจ ๐ฅ Welcome to the 2022 #googleio Developer Keynote โ goo.gle/io22
WATCH LIVE for the latest on AR, Android, Flutter, Chrome, Firebase, Google Cloud, Machine Learning, and more. -
Lit
@buildWithLit
IT'S DAY 1 OF #googleio!
๐ธ Strike a pose, and join the Lit team for a group photo around the campfire in I/O Adventure at 2PM PT.
See you there! โ goo.gle/3L4sVxm -
Lit
@buildWithLit
๐ฅWe just launched Gists support on our Playground page!๐ฅ
This means:
โShorter URLs that donโt change when you update
โProjects are now saved in @github making it even easier to share and clone
Check it out by clicking the Share button โก๏ธ goo.gle/3w1HiOF -
Lit
@buildWithLit
๐ Announcing the launch of our Tutorial Catalog!
Get excited about:
๐ฅณ A one-stop-shop for learning Lit
๐ฅณ Step-by-step deep-dives on more topics
๐ฅณ Build things that are LIT right from your browser
Check it out โ goo.gle/3Fyc2Kq -
Lit
@buildWithLit
๐๏ธ Let's go on an I/O Adventure!
Register for #googleio and discuss what's new in Lit with our team, get your web component questions answered, and more โก๏ธ goo.gle/io22 -
Lit
@buildWithLit
๐บ Welcome to another Lit University episode!
Follow along as Software Engineer @techytacos shares the techniques on communicating with native events between #webcomponents.
Watch โก goo.gle/3Fr1T23 -
Lit
@buildWithLit
๐ Lit will be at #googleio Adventure in one week!
Register for I/O and get answers to your #webcomponent questions, take our Lit tutorials, and check out the Lit Playground ๐ goo.gle/io22 -
Lit
@buildWithLit
๐ฃ ICYMI: we've got two new series on YouTube!
Head on over to the Lit YouTube channel to get started with #webcomponents and subscribe to catch all the episodes for:
๐บ Lit University
๐บ Build It with Lit
Subscribe here โก๏ธ goo.gle/3saDCaY -
Lit
@buildWithLit
๐ป Getting started with Lit is easy with our Playground and interactive tutorials - you can even install it into an existing project.
Learn more โก goo.gle/3ybDnAg -
Lit
@buildWithLit
๐ ๏ธ New Build it with Lit episode๐ ๏ธ
In this episode, Software Engineer @youcodethings shows you how to build a simple-carousel using Lit. Weโll play with slots, the Web animations API, SVGs, styles, events, and more. #javascript #frontend #html5
Watch โ goo.gle/3OXLy9l -
Lit
@buildWithLit
๐ What a great Lit tutorial by web developer @JoubranJad and his adorable sidekick! ๐ฑ
In this video, Jad walks you through how to create a basic #webcomponent and highlights some exciting Lit features.
Watch meow โ goo.gle/3vQAr9w -
Lit
@buildWithLit
We're off to an adventure at #googleio!
Register and join us online for I/O Adventure starting May 11th to see what we've been up to.
It's gonna be lit ๐๐ฅ๐ฅ ๐ goo.gle/io22 -
Lit
@buildWithLit
๐ The first episode of Lit University is here!
๐บ In this video, Software Engineer @techytacos shares what elements are, how to make, and interact with them.
Watch to learn more about the basic building block of the web โก๏ธ goo.gle/37Jmu5s -
Lit
@buildWithLit
๐ฅ Welcome to the first episode of Build It With Lit!
In this video, we build our first Lit component and use it in React, Vue, and a markdown editor.
๐บ โก๏ธ goo.gle/3vNdy71 -
Lit
@buildWithLit
๐ The Lit team has two new YouTube Series coming out!
๐บ Lit University
๐บ Build It with Lit
Subscribe to the Lit channel so you don't miss an episode โถ๏ธ goo.gle/3Li2AwC -
Lit
@buildWithLit
๐ป Use #mixins to customize a Lit component by adding #api or overriding its lifecycle callbacks.
Click to learn about:
โ๏ธ Mixin basics
โ๏ธ Mixins in #typescript
Check it out โก๏ธ goo.gle/37qJ2Yx -
Lit
@buildWithLit
Lit v2.2.2 has better error messages, security, and bug fixes!
There are also improvements to our labs React package and Lit Localize!
Changelog: goo.gle/3JiMVM2 -
Lit reposted
KฮNNETH ใป ใฑใใ
@kennethrohde
So /r/place is apparently build by the guy behind Wordle, so obviously with web components! ๐
And a closer look reveals it's @buildWithLit ๐ฅ -
Lit
@buildWithLit
The new Constructable Stylesheets browser feature has a lot to offer!
Lit component styles automatically use them under the hood, in the thread below you'll find how to use them in a #webcomponent without a helper library.
Have you tested out this feature? What do you think?
Lit
@buildWithLit
Constructable Stylesheets are a new browser feature that Lit uses to render your styles, but what do they do?
๐ Improve style loading control
๐ Render blazing fast
โฌ๏ธ Dedupe style bytes
๐ฆ Ready you for native CSS imports
The best part for Lit users? You get it for free ๐คฏ -
Lit
@buildWithLit
๐คฉ In addition to over 70 WebKit additions, Safari 15.4 added <dialog> support!
๐ This is an important element that can popup above other content- #developers can now use it in their own #webcomponents.
Learn more โก๏ธ goo.gle/3DqDwRe -
Lit
@buildWithLit
๐ฎ The new Reactive Controllers feature in Lit 2 is useful for so many things - one of the most compelling being integrating state manager logic across components. #redux
Test it out and take it for a spin here โก๏ธ lit.dev/playground/ -
Lit reposted
-
Lit
@buildWithLit
๐คฏ CHECK THIS OUT - Safari 15.4 has improved the #devtool inspector for #css variables.
๐ The update makes it easy to identify in which layer a rule is defined and provides new CSS Alignment controls. #webdev
Learn more: goo.gle/3CWuFq2 -
Lit
@buildWithLit
Constructable Stylesheets are a new browser feature that Lit uses to render your styles, but what do they do?
๐ Improve style loading control
๐ Render blazing fast
โฌ๏ธ Dedupe style bytes
๐ฆ Ready you for native CSS imports
The best part for Lit users? You get it for free ๐คฏPost not available here, view on X
Lit
@buildWithLit
What does this mean for Lit users?
You just need to continue writing your styles like you normally do! We do all the hard work under the hood, making it easier for you to share and import styles, and also support the newly-shipped #css import assertions feature.
Lit
@buildWithLit
Thereโs a lot more to learn about Constructable Stylesheets:
Webdev: goo.gle/3MQn3tG
@WestbrookJ : goo.gle/3KE1ivm
CSS module scripts: goo.gle/3KG2e29
Lit styling: goo.gle/3w3L9eu -
Lit
@buildWithLit
๐ฉโ๐ป๏ธ The Lit playground is now an even better way to write and share demos and code samples, thanks to an awesome community contribution from @matsuuu_ :
#typescript code completion!
Try it out here: goo.gle/3HVIWnF
Or on your own sites: goo.gle/3CxC4fd -
Lit reposted
Current status: still testing negative
@anotheruiguy
Friday is coming up quick! I am so excited to share this space with @claviska @WestbrookJ @darianrosebrook and @ChrisDHolt
x.com/i/spaces/1vAxRkXamXVKl -
Lit reposted
Elliott Marquez
@techytacos
๐ย lit.dev now runs @eleven_ty 1.0.0! ๐
Next step is to integrate @ lit-labs/eleventy-plugin-lit for SSR!
www.npmjs.com/package/@lit-labs/eleventy-plugin-lit -
Lit
@buildWithLit
๐ฃ New: Render web components in 11ty!
A new experimental Lit Labs plugin for @eleven_ty lets you render your Lit components to static HTML and hydrate them into fully-functional web components on the client.
Give it a try: goo.gle/333EQvs -
Lit reposted
Danny Moerkerke
@dannymoerkerke
I cannot emphasize this enough:
The DOM is NOT slow.
It's actually very fast, especially inside Web Components using Shadow DOM, as I will explain.
The misconception that the DOM is slow comes from misuse.
Good use of DOM = good performance.
Let me explain:๐
FiftyP
@nameandnums
I had assumed that excessively updating the dom could lead to performance issues. If the attributes are also used in css then layout too.
Same as any dom changes, no?
Am I mistaken? -
Lit
@buildWithLit
Break a complex Lit project down into smaller units with component composition!
Read the full documentation here: lit.dev/docs/composition/component-composition/
Check out the thread for more pro tips โฌ๏ธPost not available here, view on X
Lit
@buildWithLit
Exchanging data with subcomponents up and down the tree should always follow unidirectional data flow.
โฌ๏ธ Properties down
โฌ๏ธ Events up
You can also exchange data between components that donโt have a direct relationship by using the mediator pattern.
Lit
@buildWithLit
Read more about component composition including what makes a good component, data exchange, and child nodes here โ lit.dev/docs/composition/component-composition/
-
Lit
@buildWithLit
Want to know how you can organize code into reusable pieces while managing complexity? Composition can help!
Try these options from Lit:
โก๏ธ Component composition
โก๏ธ Reactive controllers
โก๏ธ Class mixins
Learn more โ lit.dev/docs/composition/overview/ -
Lit
@buildWithLit
Some exciting Web Component form newsโ๏ธ
Firefox commits
@FirefoxCommit
Edgar Chen - Enable form-associated custom elements by default; r=smaug,annevk - bugzilla.mozilla.org/1745378... deb.li/j9Yy
Lit
@buildWithLit
Read more about Form-Associated Custom Elements here!
web.dev/more-capable-form-controls/ -
Lit
@buildWithLit
Lit 2.1 is hot off the presses! ๐ฅ๐ฐ
Letโs take a quick dive into the new directives & decorators introduced in Lit 2.1
๐งตPost not available here, view on X
Lit
@buildWithLit
Thatโs it for now! Did we miss any directives or decorators you wanted to see in Lit? If so, comment below or continue the conversation on the Lit & Friends Slack!
lit.dev/slack-invite/
Lit
@buildWithLit
Oops we missed the
choose directive:
github.com/lit/lit/blob/main/packages/lit-html/src/directโฆ
and the keyed directive:
github.com/lit/lit/blob/main/packages/lit-html/src/directโฆ -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
@techytacos challenged me to write a redux reactive controller for @buildWithLit (and ng, p?react, haunted, @atomicojs, @FAST_UI, @hybridsjs, et al)
So let's do it!
dev.to/bennypowers/lets-write-a-redux-controller-for-web-โฆ -
Lit reposted
Cory LaViska
@claviska
For my @buildWithLit followers:ย here's a Reactive Controller for slot detection. github.com/shoelace-style/shoelace/commit/46f05224aba7afaโฆ
The important code is highlighted. You can also see the before/after implementation in various components in this commit. -
Lit
@buildWithLit
๐ Happy 2022! Itโs satisfying to check off New Years Resolutions โ๏ธ
โ๏ธ Make new directives
โ๏ธ Make new decorators
โ๏ธ Implement observers
โ๏ธ Enhance lit-labs/task
โ๏ธ Clean up SSR
โ๏ธ Release as Lit 2.1
Read more below:
lit.dev/blog/2022-01-05-lit-2.1-release/ -
Lit reposted
Matthew Pagan
@Mastapegs
Rust + Web Components
Rust: Rendering Web Components, application-scoped data management, and reactively setting properties
Web Components: UI, component-scoped data management, implemented via @buildWithLit
Brilliant Combo -
Lit reposted
James Garbutt
@43081j
You can now use postcss, @tailwindcss and stylelint with @buildWithLit components - much simpler setup than in the past made possible by postcss custom syntaxes dev.to/43081j/using-tailwind-postcss-and-stylelint-with-lโฆ #javascript
-
Lit
@buildWithLit
#partiallybuiltwithlit
Web Components can fit into existing projects, and you can scale WC usage up or down as you see fit! -
Lit reposted
Rody Davis
@rodydavis
Friday is release day! ๐
@materialdesign @figmadesign @buildWithLit @margeeta
๐งต Thread below for all the new stuff ๐งต -
Lit reposted
Wes Bos
@wesbos
React just released experimental support for web components!
github.com/facebook/react/issues/11347 -
Lit reposted
Cory LaViska
@claviska
Behold, @shoelace_style + @reactjs working together โ without wrappers!
codesandbox.io/s/adoring-breeze-jrewu?file=/src/App.js -
Lit reposted
PWABuilder
@pwabuilder
Fan of @buildWithLit ? The starter uses Lit as our library of choice, along with the new Fluent Web Components for the UI! docs.microsoft.com/en-us/fluent-ui/web-components/
-
Lit
@buildWithLit
Haven't upgraded to Lit 2 yet? We haven't forgotten about you!
We've updated lit.dev with docs for older versions of Lit. Our older domains now redirect to this new location, so all your Lit 1 bookmarks still work!
Check it out: lit.dev/docs/v1/ -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
๐ฅ๐ฅ๐ฅ๐ฅ๐๐ฅ๐ฅ๐ฅ๐ฅ
In honour of the last night of Hannukah I collected 8 nights' worth of web components tips here in this blog post. Hope you like it!
dev.to/bennypowers/8-days-of-web-components-tips-39o5 -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
8 days of #webcomponents tips:
You don't need to use only @buildWithLit components in your #lit app
Mix old-school Polymer3 components with @vuejs wcs
Put @stenciljs beside @FAST_UI on the same page
It's your party!
๐ Have a lit #hannukah ๐ฏ๐ฏ๐ฏ๐ฏ๐ฏ๐ฏ๐ฏ๐ฏ
#html #javascript -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
8 days of #webcomponents tips:
Looking to add #graphql to your frontend? Give @apolloelements a try. Use Apollo reactive controllers with lit+ others, or try a 'functional' library like atomic
๐ Have a lit #hannukah ๐ฏ๐ฏ๐ฏ๐ฏ๐ฏ๐ฏ๐ฏ
apolloelements.dev
#html #javascript -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
8 days of #webcomponents tips:
In #typescript 4.5, if you set `preserveValueImports`, you can import the class definitions of your element dependencies without worrying that TS will elide the side-effecting value.
๐ Have a lit #hannukah ๐ฏ๐ฏ๐ฏ๐ฏ๐ฏ๐ฏ
#html #javascript -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
8 days of #webcomponents tips:
Stack slots to toggle component states. Adding content into the outer slot automatically 'disables' the inner slot
State mgmt in HTML ๐คฏ
Check out @WestbrookJ 's blog: dev.to/westbrook/who-doesnt-love-some-s-3de0
๐ Have a Lit #hannukah ๐ฏ๐ฏ๐ฏ๐ฏ๐ฏ
#html #javascript -
Lit reposted
Jared White ๐ @jaredwhite@indieweb.social
@jaredcwhite
I don't know if I've tweeted about this beforeโฆif you like @buildWithLit but you also still work a lot with "light DOM" & server-gen markup, then Crystallized is worth a look.
It's basically Stimulusโฆinside your web components. Yep, actions & targets!
github.com/whitefusionhq/crystallized -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
8 days of @buildWithLit tips:
Building #webcomponents with @SassCSS? You (probably don't need it but if you can't resistโฆ) can develop using a buildless workflow with @modern_web_dev dev server &
npm.im/esbuild-plugin-lit-css
๐ Have a Lit #hannukah ๐ฏ๐ฏ๐ฏ๐ฏ
#css #html #javascript -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
8 days of @buildWithLit #webcomponents tips:
Did you know web components can have context? The protocol is based on composed events. Define providers & consumers, & share data across the DOM
github.com/webcomponents-cg/community-protocols/blob/mainโฆ
๐Have a Lit #hannukah ๐ฏ๐ฏ๐ฏ
#typescript #html #javascript -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
8 days of @buildWithLit #webcomponents tips:
Like a delicious sufganya (donut) with many fillings, a Lit component can have multiple reactive controllers, and controllers can even add other controllers
๐Have a Lit #hannukah ๐ฏ๐ฏ
#typescript #html #javascript -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
8 days of @buildWithLit #webcomponents tips:
Did you know you can add reactive controllers to an element via a class or field decorator? You don't even need to assign it to an instance property!
๐ Have a Lit #hannukah ๐ฏ
#typescript #html #javascript -
Lit reposted
Thomas Allmer
@daKmoR
โ๏ธ 165 messages per day about the web
this includes discussions about
โ best practices
๐ upcoming/emerging web standards
๐ง polyfills
๐ production builds
โ๏ธ web components
โจ ...
join @buildWithLit @OpenWc @modern_web_dev #lioncomponents
on slack via lit.dev/slack-invite/ -
Lit reposted
Shane Osbourne
@shaneOsbourne
The upcoming alpha release of Crossbow (full stack web components) can be used without a build step at all... but, since it'll powered by ESBuild, it really doesn't add much overhead ๐คฃ crossbow-wc-2ayn6.ondigitalocean.app
-
Lit
@buildWithLit
#builtwithlit check out lit-labs/react to see what makes features like these possible!
www.npmjs.com/package/@lit-labs/react
Shoelace
@shoelace_style
๐ 2.0.0-beta.60
With this release, Shoelace adds first-class support for React!
โ๏ธ React components are baked-in
๐ Toggle between HTML and React in the docs
๐ณ Copy/paste imports for all components
Learn more and try it out at: shoelace.style/frameworks/react -
Lit reposted
Erik Kroes ๐
@erikkroes
๐ฆ Lion: web components for building your design system
๐๐ฟ white label - made to be styled and extended
๐๐ฟ accessible - thoroughly tested by me
๐๐ฟ fast and small - thanks @buildWithLit
What are you building with #lioncomponents?
github.com/ing-bank/lion
lion-web.netlify.app -
Lit
@buildWithLit
Material Design
@materialdesign
๐จ See how dynamic color will look in your app with the Material Theme Builder!
Now available as a @figmadesign plugin and web tool, download and test your app here โ goo.gle/material-theme-builder-ads
#androiddevsummit
Lit
@buildWithLit
Want to make your own Figma plugins with Lit? @rodydavis has a blogpost!
Rody Davis
@rodydavis
Do you want to create a @figmadesign plugin with @buildWithLit? ๐
rodydavis.com/posts/figma-and-lit/
#figma #lit #webdev #plugin #webdevelopment @WebComponentsSF @OpenWc #webcomponents -
Lit reposted
Web Components SF
@WebComponentsSF
Hot on Web Components news today @dailydotdev hits up @justinfagnani (at 32:00) on Web Components inspecting @Adobe Photoshop Web to capabilities like SSR
A great talk for people new to WCs and @buildWithLit
daily.dev
@dailydotdev
This event is going ๐ฅ๐ฅ๐ฅ
Sharing stats tomorrrow!
youtu.be/4-dYhoZ1Ukw -
Lit
@buildWithLit
Congratulations to @Adobe, the @Photoshop Web team & the Spectrum WC team for bringing an amazing app like Photoshop to the web! ๐
We're so excited that you decided to use Lit to help build Photoshop!
Chrome for Developers
@ChromiumDev
๐ Fantastic announcement from our partner Adobe at their annual @AdobeMax conference: Photoshop ๐จ is coming to the Web!
๐ Read up on how the Adobe and the Chrome team managed this incredible achievement and go check out the beta!
web.dev/ps-on-the-web/ -
Lit reposted
Rody Davis
@rodydavis
So I have been experimenting with @buildWithLit and trying to share as much logic/styles/templates between components and have kinda landed on this:
github.com/rodydavis/lit-modules -
Lit
@buildWithLit
It's the Web Components Community not just the Lit Community ๐
Chris
@ChrisDHolt
We'd like to publicly give a HUGE thank you and shout out to @buildWithLit and their Lit Labs React Wrapper. The Lit team did a lot of heavy lifting and worked out the many of the details of how best to wrap a Web Component to provide an excellent experience in React.
-
Lit
@buildWithLit
#builtwithlit
Also see @rodydavis blog to see how to build plugins for @figmadesign with Lit
rodydavis.com/posts/figma-and-lit/
Figma
@figma
.@rodydavis and @margeeta just announced an update to @GoogleDesign's Material Design Kit.
Their new Figma plugin will visualize how dynamic color will look throughout your components.
The @materialdesign team will launch it on the Figma community later this month. #schema2021 -
Lit reposted
Elliott Marquez
@techytacos
Try FormDataEvent in your @buildWithLit Web Components today!
๐ source code ๐
tinyurl.com/h2sbyxtc
Elliott Marquez
@techytacos
Safari 15, now stable, supports FormDataEvent, so everyone put all your form elements inside shadow roots now!
-
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
Today's going to be a good day
-
Lit
@buildWithLit
๐ฒ Evergreen reminder for evergreen browsers ๐ฒ
Lit
@buildWithLit
Just a Monday reminder to ship modern code to modern browsers!
๐ฅ6๏ธโฃโก๏ธ๐5๏ธโฃ๐ โโ๏ธโ
๐ฅ6๏ธโฃโก๏ธ๐ฅ6๏ธโฃ๐โ -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#webcomponents tip of the day:
You can use @buildWithLit reactive controllers with any framework, all you need is a little glue code.
Here's a demo of a Polymer 3 (!) element using a reactive controller via @ApolloElements' `ControllerHostMixin`
webcomponents.dev/edit/dMtSnbaYVJpEd6H0LcFR/src/index.ts -
Lit reposted
Fable Compiler ๐บ๐ฆ #StandWithUkraine
@FableCompiler
Fable โค๏ธ @buildWithLit: Fable.Lit 1.0 is out! A new superpower for #fsharp developers fable.io/Fable.Lit/
-
Lit
@buildWithLit
Upgrade now, it's really easy!
Jad Joubran
@JoubranJad
Upgraded 130 components to Lit 2.0 โก๏ธ @buildWithLit
-
Lit
@buildWithLit
The Lit team is proud to announce the stable release of Lit 2.0!
We would like to thank the Lit & web communities for all the feedback and support which continue to make Lit a reality!
Learn all about the Lit 2.0 release here:
lit.dev/blog/2021-09-21-announcing-lit-2/ -
Lit
@buildWithLit
Lots of great info and lots of great questions in the Lit 2.0 Release Livestream!
โน Did you miss it? Donโt worry, the recording is up on our YouTube channel. โช
Subscribe and opt-into notifications to participate in our next one! ๐
www.youtube.com/watch?v=nfb779XIhsU -
Lit reposted
Jorge del Casar
@JorgeCasar
Great numbers @buildWithLit!! ๐ช
Just 6 KB (gzip) to build Web Components interoperable with all frameworks. -
Lit
@buildWithLit
The Lit 2.0 Release Livestream is starting in an hour! Click here to join in!
๐๐๐
www.youtube.com/watch?v=nfb779XIhsU -
Lit
@buildWithLit
This is tomorrow, set a reminder on the livestream page!
Lit
@buildWithLit
๐ฃ Save the date ๐ฃ
โ What: Lit 2.0 Release Livestream
๐ When: September 21st 10am Pacific time
โถ๏ธ Where: www.youtube.com/watch?v=nfb779XIhsU
๐โโ๏ธ Why: New features and live panel discussions! -
Lit
@buildWithLit
๐ The Lit 2.0 release livestream is tomorrow! ๐
Click on the link below and have YouTube give you a notification when weโre live tomorrow at 10am PDT, or click on the subscribe button to be in the loop for future content!
Donโt miss it!
www.youtube.com/watch?v=nfb779XIhsU -
Lit
@buildWithLit
๐ Learn Lit 2 ๐
Lit 2 doesn't require a compiler to get started or to have A+ dev, but TS can make it a lot easier!
Learn w/ our editable code samples at lit.dev in both JS & TS
Join our Lit 2 release stream on September 21@10am PDT:
youtu.be/nfb779XIhsU -
Lit
@buildWithLit
๐ Learn Lit 2 ๐
Reactive Controllers make it easy to share code across components or even other frameworks!
codesandbox.io/s/adoring-hopper-nlxhg?file=/src/Clock.vue
Learn more at our Lit 2.0 release livestream on September 21st, 10am PDT at the link below:
www.youtube.com/watch?v=nfb779XIhsU -
Lit
@buildWithLit
๐โโ๏ธ Lit 2 Livestream Panelist
Joining our Q&A panel โ Westbrook Johnson @WestbrookJ on the Adobe Spectrum WCs team & an organizer of the WCs Community Group
Join our Lit 2.0 stream on September 21, 10am PDT at the link below or sub to the Lit YT channel:
www.youtube.com/watch?v=nfb779XIhsU
Lit
@buildWithLit
Westbrook rounds out our lineup of livestream speakers and Q&A panelists. Come join us live on the 21st, we're happy to see everyone and answer your questions!
Lit
@buildWithLit
๐ฃ Save the date ๐ฃ
โ What: Lit 2.0 Release Livestream
๐ When: September 21st 10am Pacific time
โถ๏ธ Where: www.youtube.com/watch?v=nfb779XIhsU
๐โโ๏ธ Why: New features and live panel discussions! -
Lit
@buildWithLit
๐โโ๏ธ Lit 2 Livestream Panelist
Joining our Q&A panel โ Elizabeth Mitchell @asyncLiz is an engineer on the Material Design Web team at Google
Join our Lit 2.0 livestream on September 21st, 10am PDT at the link below or subscribe to the Lit YouTube channel:
www.youtube.com/watch?v=nfb779XIhsU -
Lit
@buildWithLit
๐โโ๏ธ Lit 2 Livestream Panelist
Joining our Q&A panel โ Lars den Bakker @LarsdenBakker18 is a core team member of @modern_web_dev & @OpenWc
Join our Lit 2.0 livestream on September 21st, 10am PDT at the link below or subscribe to the Lit YouTube channel:
www.youtube.com/watch?v=nfb779XIhsU -
Lit
@buildWithLit
๐ค Lit 2 Livestream Speaker
Dessie Sadrzadeh @dbaramova is the engineering director of Material Design and will be speaking abt Lit@Google.
Join our Lit 2.0 livestream on September 21st, 10am PDT at the link below & subscribe to the Lit YouTube channel:
www.youtube.com/watch?v=nfb779XIhsU -
Lit
@buildWithLit
๐โโ๏ธ Lit 2 Livestream Panelist
Joining our Q&A panel โ Cory LaViska @claviska, now at Microsoft, is the creator of the @shoelace_style
Join our Lit 2.0 livestream on September 21st, 10am PDT at the link below or subscribe to the Lit YouTube channel:
www.youtube.com/watch?v=nfb779XIhsU -
Lit
@buildWithLit
๐ค Lit 2 Livestream Speaker
Justin Fagnani @justinfagnani is a Lit team member and will be going over all the new features of Lit 2!
Join our Lit 2.0 livestream on September 21st, 10am PDT at the link below or subscribe to the Lit YouTube channel:
www.youtube.com/watch?v=nfb779XIhsU -
Lit
@buildWithLit
๐ฃ Save the date ๐ฃ
โ What: Lit 2.0 Release Livestream
๐ When: September 21st 10am Pacific time
โถ๏ธ Where: www.youtube.com/watch?v=nfb779XIhsU
๐โโ๏ธ Why: New features and live panel discussions! -
Lit reposted
Frontend Daily ๐
@FrontendDaily
Shoelace: 'A Forward-Thinking Library of Web Components' - shoelace.style
-
Lit
@buildWithLit
Chrome Unboxed
@chromeunboxed
Google's new note taking app - Cursive - is out on the web and you can install it now if you want to give it a whirl. chromeunboxed.com/how-to-install-cursive-pwa-web-app-handโฆ
Lit
@buildWithLit
Lit 2 to be exact!
-
Lit reposted
๐ฉโ๐ ๏ผmodel-viewer๏ผ
@modelviewer
<model-viewer> v1.8 brings experimental support for the new @glTF3D PBR Next extensions! It also adds significantly to our scene-graph API, improves #ar placement UX for #webxr, and fixes several bugs.
See the release notes for the whole story: github.com/google/model-viewer/releases/tag/v1.8.0 -
Lit reposted
Matthew Phillips
@matthewcp
A new side project I've been working on recently, Ocean, a web component server rendering template function: github.com/matthewp/ocean
It will render your custom elements to declarative shadow roots and add the polyfill for you. -
Lit reposted
Matthew Phillips
@matthewcp
This is utilizing server-rendering web components (via @buildWithLit) as well. The future is now!
-
Lit reposted
Rody Davis
@rodydavis
Do you want to wrap the Monaco Editor (which powers @code) with a @buildWithLit Web Component? ๐
rodydavis.com/posts/lit-monaco-editor/
#lit #webcomponents @Web_Components #editor #webdev @JavaScript #typescript #vite #esmodules -
Lit reposted
Astro
@astrodotbuild
๐ฅ Ship Less JS: introducing responsive partial hydration /w CSS media queries!
also landed in v0.18.0:
๐ @solid_js support
๐ @buildWithLit SSR support
๐ `<style global>` support
astro.build/blog/astro-018 -
Lit
@buildWithLit
Our first Twitter Space recording is finally up on YouTube!
Subscribe to be informed of all our new video content
youtu.be/it-NXhxkOJo -
Lit reposted
Westbrook
@WestbrookJ
@buildWithLit #spaces #diditworkโ๏ธ Some links from todays Space:
@passle_'s genericcomponents.netlify.app
@w3c's github.com/w3c/webcomponents-cg
@Adobe's opensource.adobe.com/spectrum-web-components
Thanks @rodydavis and @techytacos for having me! ๐๐ฝโโ๏ธ Looking forward to how this grows. ๐ป -
Lit
@buildWithLit
First @TwitterSpaces is done โ
We've learned a bit from our technical difficulties ๐
and we will definitely have more options for community participation next time! ๐โโ๏ธ๐ฆ
Follow us to keep updated on our next event! -
Lit
@buildWithLit
It will be uploaded to our YouTube channel soon! Like comment and subscribe!
๐๐๐
www.youtube.com/channel/UCok4ZKSzM3jY7JQRMlF-DPg
Dion Almaer
@dalmaer
โThis space has endedโ => โListen to recordingโ ๐
-
Lit reposted
Elliott Marquez
@techytacos
We're on now!
x.com/i/spaces/1BdGYYwZZgQGX -
Lit
@buildWithLit
We're on in an hour!
x.com/i/spaces/1BdxYYwyXLXxX -
Lit reposted
Westbrook
@WestbrookJ
Maybe we'll talk about Spectrum Web Components by @Adobe, @OpenWc, @modern_web_dev or github.com/w3c/webcomponents-cg... who knows?! ๐คทโโ๏ธ Regardless, it's gonna be Lit. ๐ฆ๐ฅ๐
Checkout the @buildWithLit Space today at 5pm ET! #builtwithlit #webcomponents
x.com/i/spaces/1BdxYYwyXLXxX -
Lit
@buildWithLit
T-minus 24 hours!
Lit
@buildWithLit
This Thursday (July 22) at 2PM US Pacific time we will be hosting our first Twitter Space hosted by @rodydavis and @techytacos featuring @WestbrookJ from Adobe!
Add it to your Calendar to make sure you don't miss out:
accounts.google.com/v3/signin/identifier?continue=https:/โฆ -
Lit
@buildWithLit
This Thursday (July 22) at 2PM US Pacific time we will be hosting our first Twitter Space hosted by @rodydavis and @techytacos featuring @WestbrookJ from Adobe!
Add it to your Calendar to make sure you don't miss out:
accounts.google.com/v3/signin/identifier?continue=https:/โฆ -
Lit reposted
Storybook
@storybookjs
A big up to @PowersBenny for his contribution. Thanks to him we've merged ed.gr/djg3u, improving the #webcomponents experience with Storybook!
Fantastic job for a first contribution ๐ช!
Follow him if you haven't already.
๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ -
Lit reposted
straversi
@straversi1
A UI component we distribute is implemented as a web component. This is proving to be a critical decision. We have a new client on a WooCommerce LAMP stack, and our component works out-of-the-box for them. Web components work everywhere == engineering hours saved! #webcomponents
-
Lit reposted
Rody Davis
@rodydavis
Just finished a stream on @tiktok_us where I live coded a 3D piano with Lit, Three.js and Tone.js ๐ถ๐น๐ป
github.com/rodydavis/lit-3d-piano
@buildWithLit @threejs #tonejs #threejs #webgl -
Lit reposted
sam "zeroโwidthโspace" thor
@samthor
I gave a talk on Web Components, Lit and Santa Tracker! And now everyone can watch it: portal.gitnation.org/contents/web-components-lit-and-santa ๐
-
Lit reposted
Elliott Marquez
@techytacos
The new @buildWithLit lit-labs/motion flip directive REALLY makes animations easy!
code: lit.dev/playground/
docs: github.com/lit/lit/tree/main/packages/labs/motion -
Lit reposted
Matthew Phillips
@matthewcp
I got @buildWithLit SSR to run in Deno ๐
-
Lit reposted
Justin Fagnani
@justinfagnani
@buildWithLit templates have Trusted Types support built in. With that it's one of the safest templating libraries out there.๐ด๏ธ
koto
@kkotowicz
Where's Trusted Types? How and where are they used? Did we kill DOM #xss already?
Answer to all these - and more - questions is in the Trusted Types report we've just released.
docs.google.com/document/d/1m91JZWKAGOR3jQoicMVE9Ydcq79gMโฆ -
Lit reposted
Shane Osbourne
@shaneOsbourne
I always wanted this from other frameworks - the ability to use some SPA-like features, but opt-in. EG: Don't make the entire site a heavy SPA, just sprinkle it in where it makes sense ๐ฉ crossbow-wc-2ayn6.ondigitalocean.app/demos/spa. The full-stack web components framework is coming ๐@buildWithLit
-
Lit reposted
Justin Fagnani
@justinfagnani
Merged the first draft of the Context Protocol into the web components community protocols!
This proposes a context API that's interoperable across web component implementations, and because it's event-based, even framework components.
github.com/webcomponents/community-protocols/blob/main/prโฆ -
Lit reposted
Nate Moore is on ๐ฆ
@n_moore
With custom element renderer support landing in @astrodotbuild soon, this should be something you donโt even have to think about!
Matthew Phillips
@matthewcp
SSR support for custom elements is a major game changer. I previously was hesitant about using libraries I love such as @shoelace_style because I mostly build content sites. Now it's likely that I can use these without worrying about a FOUC.
-
Lit reposted
Rodrigo Pombo
@pomber
Lit 2.0 (@buildWithLit) in 60 seconds www.youtube.com/watch?v=tiDv3jJO8Og
-
Lit reposted
Thomas Allmer
@daKmoR
In case you missed my talk from Friday it's available on @YouTube ๐ช
It features:
๐ History of the web
โ๏ธ Start a simple app in @reactjs
๐ฅ Convert it to html and @buildWithLit
๐ Add @eleven_ty to reduce html duplication
๐ Intro to Rocket
youtu.be/JEirUtE4k84?t=621 -
Lit reposted
Andrew
@youcodethings
A set of notes on minimal tech that makes me happy to maintain and update my site. Markdown can be interactive and delightful! ๐
andrewjakubowicz.me/posts/making-of-a-blog-post/
#builtwithlit -
Lit reposted
Shane Osbourne
@shaneOsbourne
๐๐ป Web Components + SSR + nested page-routing. As seen in the video it can even do islands-architecture-style whilst in SPA mode ๐คฏ. Each nested router-outlet can register middleware too, making things like global auth/guards easy. @buildWithLit crossbow-wc-2ayn6.ondigitalocean.app
-
Lit reposted
Elliott Marquez
@techytacos
Y'all, @buildWithLit + @eleven_ty in Rocket by @modern_web_dev is pretty fantastic
simplewebconf
@simplewebconf
We're starting 2nd day with a talk by @daKmoR
"A modern web setup for static sites with a sprinkle of JavaScript " ๐ฅ๏ธ just in 5mins. Join us www.youtube.com/watch?v=JEirUtE4k84
Thomas is Founder of open-wc.org
Co-Founder of modern-web.dev -
Lit reposted
simplewebconf
@simplewebconf
We're starting 2nd day with a talk by @daKmoR
"A modern web setup for static sites with a sprinkle of JavaScript " ๐ฅ๏ธ just in 5mins. Join us www.youtube.com/watch?v=JEirUtE4k84
Thomas is Founder of open-wc.org
Co-Founder of modern-web.dev -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
Let's build a colour-picker #html element with #css, #javascript and @buildWithLit reactive controllers...
...but without #litelement ๐คฏ
๐ Curious yet? ๐
dev.to/open-wc/let-s-build-a-colour-picker-web-component-โฆ
#webcomponents #weekendreading -
Lit reposted
Rody Davis
@rodydavis
Want to use @buildWithLit to build a @code extension? ๐
rodydavis.com/posts/lit-vscode-extension/
@Web_Components @Microsoft @github #webcomponents #lit #vscodeextensions #webdev @JavaScript #typescript -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#lit tip of the day:
When mapping over an array in your #webcomponents' render method, you can bind an instance method by passing `this` as the second argument to `Array#map`
It's a nice, all-#javascript alternative to @โbound decorator or arrow class fields
#html #typescript -
Lit reposted
Astro
@astrodotbuild
Lit SSR ๐
Matthew Phillips
@matthewcp
Got @buildWithLit working in @astrodotbuild with Declarative Shadow Roots! In Chrome no shim is needed ๐ Can hydrate on load, idle, visible like everything else. Can use tag names in your HTML just as people want.Not ๐. Not quite ready for a release, but getting close!
-
Lit reposted
Elliott Marquez
@techytacos
โ๏ธ Custom Elements and forms:
The native <form> element currently can't dig into the Shadow DOM to find form elements, but there are several approaches to this:
๐ ElementInternals / Form association (experimental)
๐ formdata Event (experimental)
๐ก Light DOM or hidden inputs -
Lit reposted
Elliott Marquez
@techytacos
Dane Hillard ๐ @dane.dev ๐ฆ // @daneah ๐
@easyaspython
This work is the culmination of a lot of sweat and ingenuity from some great people at @ITHAKA_org / @JSTOR! Proud to have been a part of this and seeing it come to life in a way that we hope can help others has my heart feeling full today.
medium.com/build-smarter/pharos-jstors-design-system-for-โฆ -
Lit reposted
simplewebconf
@simplewebconf
We'll be live in just about an hour over here!
Join us :) www.youtube.com/watch?v=kAD7qKwuJFo -
Lit reposted
Elliott Marquez
@techytacos
Want to get the quick gist of @buildWithLit and coming from React? You'll feel right at home, but there are a few fundamental patterns that are different.
Take a look at the "Lit for React Developers" codelab @twittenbykitten and I wrote for Google I/O
codelabs.developers.google.com/codelabs/lit-2-for-react-devs -
Lit reposted
Rody Davis
@rodydavis
Want to build an interactive canvas with CSS Transforms and @buildWithLit? ๐
rodydavis.com/posts/lit-css-canvas/
@Web_Components @WebComponentsSF #webcomponents #css #html #webdev @JavaScript @typescript @code #vite -
Lit reposted
Matthew Phillips
@matthewcp
Got @buildWithLit working in @astrodotbuild with Declarative Shadow Roots! In Chrome no shim is needed ๐ Can hydrate on load, idle, visible like everything else. Can use tag names in your HTML just as people want.Not ๐. Not quite ready for a release, but getting close!
-
Lit reposted
simplewebconf
@simplewebconf
And by tomorrow, we mean today now!
Vaadin
@vaadin
Tomorrow June 23rd #vaadiners @marcushellberg and @GueriaudJc are hosting an online workshop on building a #pwa with #lit, #springboot and #vaadinfusion at the @simplewebconf 2021.
Free tickets available --> vaad.in/3xJKIE2 -
Lit reposted
Rody Davis
@rodydavis
So you have built you application with @buildWithLit and now want a native app? ๐
Here is an example of how to embed Lit web components in android and ios with 2 way communication! ๐
github.com/rodydavis/lit-native -
Lit reposted
Elliott Marquez
@techytacos
Custom Elements have quite a robust API surface. @buildWithLit's rendering system has declarative shorthand to help with that:
1. Attribute Bindings
2. Property Bindings
3. Boolean Bindings
4. Event Listener Bindings (no need for .bind in Lit) -
Lit reposted
CSS-Tricks
@css
Using Custom Elements in Svelte by @geoffrich_ css-tricks.com/using-custom-elements-in-svelte/
-
Lit reposted
Matsu
@matsuuu_
I'm getting close to release with the #webcomponentdevtools.
The current TODO in priority order:
- Custom Elements Manifest
- Stability
- UI Polish
- Web Compo Library Support (currently just @buildWithLit )
- More functionality!
I'll also go #opensource on release! -
Lit reposted
Elliott Marquez
@techytacos
๐พโ๏ธWeb Components and lists
There are multiple ways to pass a list to a web component:
1. An attribute (bad DX)
2. A property (not great DX if not using lit-html)
3. Child nodes (like <select>!) -
Lit reposted
George Griffiths
@griffadev
I just hit the go-live button a rewrite a did for my brothers Guitar Tutition business, was fun to build! cgguitar.co.uk
I'm especially proud of the Web Component for embedding YouTube playlists using data fetched at build time using @eleven_ty cgguitar.co.uk/videos/ -
Lit reposted
Passle
@passle_
Stoked to finally be able to announce: Custom Elements Manifest 1.0.0
Iโm really looking forward to see what kind of new tooling this will unlock. Read all about it here:
dev.to/open-wc/introducing-custom-elements-manifest-gkk -
Lit reposted
Matsu
@matsuuu_
Something I've been working on for the past few weeks, that I can't wait to finish and get into the hands of all of you:
๐ Web Component DevTools
๐ Find Web Components on the page
๐ง Modify properties & attributes
๐ฆ And a lot more coming
UI built with @buildWithLit
Soonโข -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#webcomponents tip of the day:
๐คฏ Did you know that when inspecting a component in @FirefoxDevTools, you can click the "custom element" badge to go straight to the element's #javascript source? Yes way!
๐ฉโ๐ฌ Give it a try next time you're debugging your web app.
#html #devtools -
Lit reposted
Chrome DevTools
@ChromeDevTools
๐ New in Canary - Improved properties inspection for the Custom Elements.
No more long scrolling to look for the #webcomponent properties. Like it?
Try it in Chrome Canary.
Elliott Marquez
@techytacos
Currently in Chrome Canary, @ChromeDevTools' Property inspector will now separate the properties defined on a Custom Element from those defined on HTMLElement.
Take it for a spin: lit.dev/playground/
#webcomponents -
Lit reposted
Elliott Marquez
@techytacos
Currently in Chrome Canary, @ChromeDevTools' Property inspector will now separate the properties defined on a Custom Element from those defined on HTMLElement.
Take it for a spin: lit.dev/playground/
#webcomponents -
Lit reposted
Tracy Lee | ladyleet
@ladyleet
Learn two methods for communicating and passing data between components in "How to Implement an Event Bus in #typescript"!
โ๏ธ @luixaviles
www.thisdot.co/blog/web-components-communication-using-anโฆ -
Lit reposted
Home Assistant Devs
@hass_devs
For our latest projects we've used @buildWithLit, Web Serial and Web Bluetooth to make microcontrollers accessible to everyone.
Home Assistant
@home_assistant
We've build new tools and standards to make it super easy for users to get started with @esphome_, WLED and other software for the ESP32 and ESP8266 microcontrollers. www.home-assistant.io/blog/2021/06/16/power-up-your-esp-pโฆ
-
Lit
@buildWithLit
๐ฅฐ๐ฅฐ๐ฅฐ
Justin Fagnani
@justinfagnani
The @buildWithLit community is really great. The amount of help and welcoming to newcomers in our chat is incredible to see! ๐ค๐
-
Lit reposted
Justin Fagnani
@justinfagnani
A nice Friday-evening present ๐
@BenDelarre from Adobe opened a PR to add a context API to @buildWithLit, compatible with the context community protocol he's proposed in the Web Components Community Group!
github.com/lit/lit/pull/1955 -
Lit reposted
Justin Fagnani
@justinfagnani
JS and CSS modules with no build in sight!
With upcoming CSS modules, we'll soon have:
โ JS modules
โ Bare specifiers
โ CSS modules
โ Components
โ Scoped styles
all built into the platform, no builds required, usable with `python -m SimpleHTTPServer 8000` ๐ -
Lit reposted
Chrome DevTools
@ChromeDevTools
๐ขTGIF! New engineering blog post!๐ข
Do you know our new Memory Inspector is @buildWithLit Web Components?
Read this piece by @kianhuu on how to inspect ArrayBuffer, Wasm memory, C/C++ pointers and more with the Memory Inspector and how we design it.
๐๐ผdeveloper.chrome.com/blog/memory-inspector/ -
Lit reposted
Astro
@astrodotbuild
exciting stuff! 1 step closer to Astro SSR support for uhtml, lighterhtml, hyperHTML, lit-html, etc.
Andrea Giammarchi ๐ฅ
@WebReflection
still a WIP, but imagine you can use JSX to fuel your template literal tag function library ... (this is likely step #1 to be @astrodotbuild compatible)
github.com/WebReflection/jsx2tag -
Lit reposted
Jorge del Casar
@JorgeCasar
Today's Twitch: Finished first version of Hacker News @buildWithLit
- Router Controller (It' will be a standalone lib)
- API Controller Task
Web: lit-hn.netlify.app
Code: github.com/jorgecasar/lit-hn
Youtube Playlist: youtube.com/playlist?list=PLx005kd2GUGvYQo1GkRYt_rHEH5mMGoUb
Twitch: www.twitch.tv/jorgecasar_ -
Lit reposted
Cory Rylan
@coryrylan
Fun demo showing the capabilities of @buildWithLit and its ReactiveController API. Created a responsive controller to make it easy to adjust component styles based on its size rather than waiting for #css container queries ๐
webcomponents.dev/edit/FfZRKthKCxTmeLKgu64d/src/index.ts -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#webcomponents tip of the day
You can use @storybookjs to document your web components. It has built-in support for #lit templates & just today the indefatigable @WestbrookJ 's PR updated support for wc and lit 2.
Go check it out: storybook.js.org/docs/web-components/get-started/introducโฆ
#html #javascript -
Lit reposted
Elliott Marquez
@techytacos
Fun fact: internally Google uses SafeHtml to prevent XSS
github.com/google/safe-html-types/blob/master/doc/safehtmโฆ
Unfortunately there is no TS implementation for us to use internally, so instead they recommend lit-html to all googlers!
The internal build has a simple SafeHtml integration -
Lit reposted
Virtual Dan
@dan_valinotti
Just worked on this: quickly scaffold a new @buildWithLit project with โnpx create-lit [project-name]โ!
github.com/litelement-dev/create-lit
#lit #buildwithlit -
Lit reposted
Westbrook
@WestbrookJ
@storybookjs and @modern_web_dev and @buildWithLit friends weโre testing a pre-release of www.npmjs.com/package/@web/dev-server-storybook/v/0.3.6-nโฆ to allow Storybook Prebuilt users to leverage the Lit libraries before and after 2.0 as their project desires from the same dependency. Please help us test it out!
-
Lit reposted
Queativo
@Questiro9
If anyone is even a little bit lit curious Iโd recommend taking a look at these. A lot of cool and interesting stuff in there.
Rody Davis
@rodydavis
In case you missed it, here are the last 5 blog posts I wrote about getting started with @buildWithLit ๐๐
Let me know if you have ideas for future ones!
#webcomponents #webdev #html #css @OpenWc #vitejs #javascript #typescript @code @github @Web_Components -
Lit
@buildWithLit
Also lit-plugin which is based off of lit-analyzer!
marketplace.visualstudio.com/items?itemName=runem.lit-plugin
James Garbutt
@43081j
If you're building with @buildWithLit , I highly recommend you use the analyzer. Comes with VS code integration, but is super useful as a lint/compiler check regardless github.com/runem/lit-analyzer
-
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#lit tip of the day:
How should you handle async data in your component? You could use the `until` directive in your template, but that's hard to test.
Instead, do async work outside the render cycle & update loading, result, or error states.
#webcomponents #html #javascript -
Lit reposted
Herberth Obregรณn
@HerberthObregon
Are you looking Lit Snippets? Check the snippets ext for @code | @buildWithLit
marketplace.visualstudio.com/items?itemName=lit.lit-snippets -
Lit reposted
Rody Davis
@rodydavis
In case you missed it, here are the last 5 blog posts I wrote about getting started with @buildWithLit ๐๐
Let me know if you have ideas for future ones!
#webcomponents #webdev #html #css @OpenWc #vitejs #javascript #typescript @code @github @Web_Components -
Lit reposted
This Dot Media
@ThisDotMedia
๐งฑ Wanna build w/ @buildWithLit? ๐
๐ก #litelement 2.0 is a major update w/ simple & fast #webcomponents ๐ธ
๐งโ๐ป @luixaviles shares what's new, what's better, & how to contribute! ๐ค
๐ฐ www.thisdot.co/blog/lit-2-0-released-building-fast-and-liโฆ -
Lit reposted
James Garbutt
@43081j
eslint-plugin-lit v1.5.0 released ๐@buildWithLit
-
Lit
@buildWithLit
๐ฅฐ๐ฅฐ๐ฅฐ
Cory Rylan
@coryrylan
@RollupJS + @buildWithLit + @modern_web_dev = โค๏ธ
-
Lit reposted
Herberth Obregรณn
@HerberthObregon
I write my first post on @ThePracticalDev ๐
Lit Simple Starter Kit with @vite_js + @typescript | @buildWithLit
dev.to/herberthobregon/lit-simple-starter-kit-with-vitejsโฆ -
Lit reposted
JC Gueriaud
@GueriaudJc
@artursignell asked me if I tried the @buildWithLit Labs Motion (FLIP) to animate the todos cards.
So I've updated the Vaadin Fusion app to V21 alpha, Lit 2 (rc1), lit-mobx and add lit-labs/motion.
It was really smooth and FLIP is awesome. -
Lit reposted
Rody Davis
@rodydavis
Want to render Sheet Music with @buildWithLit? ๐ถ
rodydavis.com/posts/lit-sheet-music/
#webcomponents #vitejs #webdev #webdevelopement #opensheetmusicdisplay #musicxml -
Lit reposted
Angel D. Muรฑoz
@angel_d_munoz
I love "hand drawn" like UI Elements like wiredjs.com/showcase.html
they are sooooo appealing to me for some reason, this and paper.css are one of my favorites of all time
and guess what its @buildWithLit so I will be able to use it in Sutil ๐ -
Lit reposted
Apollo Elements - GraphQL Web Components
@ApolloElements
Is... is that a @buildWithLit ReactiveController running inside of a @hybridsjs element?
Just imagine the possibilities... -
Lit reposted
Rody Davis
@rodydavis
Want to convert JSON to an HTML Table? ๐
rodydavis.com/posts/lit-html-table/
#webcomponents @buildWithLit #litelement #lithtml #html #webdev #webdevelopment -
Lit reposted
Shane Osbourne
@shaneOsbourne
๐ This is so exciting!!! I love (and use) many of the great frameworks out there โค๏ธ - but after a solid month of experimenting with Web Components server-side + in the browser, I'm 100% confident this is a future I want to be part of crossbow-wc-2ayn6.ondigitalocean.app @buildWithLit
-
Lit reposted
JC Gueriaud
@GueriaudJc
I've just finished my @vaadin Fusion / @buildWithLit example with Push, drag and drop. Open two browsers and play with the demo here: vaadin-task-demo.herokuapp.com
Here is the code: github.com/jcgueriaud1/vaadin-fusion-mobx -
Lit reposted
Matsu
@matsuuu_
Our new company website is up and completely @buildWithLit .
Bundled to production with @RollupJS
And enhanced with Simplr Components & Router โบ๏ธ
simplr.company -
Lit
@buildWithLit
Nice use of @polymerLibrary!
btopro
@btopro
I just...
- read a file off my file system in xlsx format
- then converted it to JSON to work with
- then converted back into xlsx format
- then saved it back to the file system
from the browser via a web component singleton. No server involved. able to drop into other apps.. -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#webcomponents tip of the day:
Testing web components? Give Web Test Runner a try, you won't want to go back. Use plugins & middleware to customize the environment & run your tests in a real browser - *fast*!
Try it out:
modern-web.dev/guides/test-runner/getting-started/
#html #javascript #testing -
Lit reposted
Rody Davis
@rodydavis
Want to build a Rich Text Editor with @buildWithLit? ๐
rodydavis.com/posts/lit-rich-text-editor/
#lit @WebComponentsSF @Web_Components #richtexteditor #webdev #webcomponents -
Lit reposted
Shane Osbourne
@shaneOsbourne
@react devs ๐ - don't worry, I'm not here to tell you React is the wrong choice! - I'd just like to present some examples of things you โฅ๏ธ in React, but built with Web components instead. First up, we all love `useContext` - here's an example with React, then with @buildWithLit
-
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#lit tip of the day
lit 2.0 gave us a new way to compute #webcomponents props, the `willUpdate` lifecycle hook
Use it to run side effects when dependencies change
Unlike `update`, you don't need a super call & its self-documenting
#html #javascript
lit.dev/docs/components/lifecycle/ -
Lit reposted
Michael Shilman ๐ฆ @shilman.net
@mshilman
๐ฅ NEW Lit2 support in @storybookjs! ๐ฅ
Available now in 6.3-alpha:
๐ npx sb@next init
๐ npx sb@next upgrade --prerelease
Thanks @WestbrookJ @gaetanmaisse @brionfuller @buildWithLit
github.com/storybookjs/storybook/pull/14898 -
Lit reposted
Virtual Dan
@dan_valinotti
Breaking my Twitter silence to self-promote my new blog post on Web Components and Vue - dval.dev/blog/lit-web-components-tutorial/
-
Lit reposted
KฮNNETH ใป ใฑใใ
@kennethrohde
Yay, Material You Web Components on the way! @buildWithLit
-
Lit reposted
Cory LaViska
@claviska
Finally got a grip on how I want to handle animations with @shoelace_style components. Going with the Web Animations API and a thin animation registry instead of [unreliable] CSS transitions.
-
Lit reposted
Filip Bech in ๐ฉ๐ฐ
@Filipbech
The @buildWithLit codelab for React-devs is really nice... if you know react and want to learn about webcomponents with Lit, this is a great place to start: codelabs.developers.google.com/codelabs/lit-2-for-react-devs
-
Lit reposted
Lars Krieger
@Nopziiemoo
These new #fugu capabilities that are really lit up! and using the new lit.dev web components really opens up the web, it is really exiting times we live in! Thanks @denladeside to get me involved and exited about this!
fugu-tracker.web.app -
Lit reposted
Westbrook
@WestbrookJ
Really excited about the possibility of leveraging @modern_web_devโs Web Test Runner to make VRTs of this contexts a breeze in my @buildWithLit elements! Gonna be so nice ๐๐งช๐โโ๏ธโ๐ฆ๐ฅ๐=โค๏ธ
-
Lit
@buildWithLit
We will have another Roundtable in the Material Tent at 3pm US Pacific on May 20
(24 hours from sending this tweet)
Lars Knudsen โฅ๏ธ๐บ๐ฆ in ๐ฉ๐ฐ
@denladeside
Feeling ๐ฅwith @buildWithLit in the @googlechrome tent at #googleio2021
-
Lit reposted
Shane Osbourne
@shaneOsbourne
Once I cracked nested routing & layouts with web components on the server, I realised I should make this a real thing! Time to pursue the "full-stack framework with web-components" idea. @buildWithLit I have a POC if anyone's interested in a collaboration lit-ssr-bug-hjw76.ondigitalocean.app
-
Lit reposted
Home Assistant Devs
@hass_devs
Home Assistant will use @buildWithLit 2.0 in the next release. This is a major bump.
If you are a custom card developer and rely on our shipped version (which we don't recommend), test your card against the latest nightly to make sure it still works.
developers.home-assistant.io/blog/2021/05/19/lit-2.0/ -
Lit reposted
Lit
@buildWithLit
New #googleio codelab! Do you know React and want to know what Lit is all about? Check out
Lit for React Developers
codelabs.developers.google.com/codelabs/lit-2-for-react-devs -
Lit
@buildWithLit
๐ฉโ๐ ๏ผmodel-viewer๏ผ
@modelviewer
<model-viewer> v1.7 no longer needs a USDZ for #ar on #ios! We can now generate it on the fly (thanks @mrdoob & co!), reflecting variant changes, etc.
That's not all! Improved object placement flow in #webxr mode, 2-finger rotation, and more:
github.com/google/model-viewer/releases -
Lit reposted
Rody Davis
@rodydavis
Want to easily wrap @googlemaps in a @buildWithLit web component? ๐
Check out this playground! lit.dev/playground/ -
Lit
@buildWithLit
In 1 hour join @rodydavis and @asyncLiz in the Material Design Tent for a roundtable on Lit & Web Components!
Link below to teleport straight to the roundable schedule!
๐๐๐
events.google.com/io/adventure?lng=en -
Lit
@buildWithLit
New #googleio codelab! Do you know React and want to know what Lit is all about? Check out
Lit for React Developers
codelabs.developers.google.com/codelabs/lit-2-for-react-devs
Lit
@buildWithLit
Also available at the Lit booth in Google I/O Adventure:
events.google.com/io/adventure?lng=en -
Lit reposted
Rody Davis
@rodydavis
Come join me at the Material Design dome in adventure!
events.google.com/io/adventure -
Lit reposted
straversi
@straversi1
Getting ready to @buildWithLit here at @getchangehq.
-
Lit reposted
Material Design
@materialdesign
โจ Announcing Material You, a transformation in design at Google โจ
Be a co-creator of your digital experiences. Coming first to Pixel with #android12
Learn more about the #materialdesign vision ๐material.io/blog/announcing-material-you -
Lit reposted
Marques Brownlee
@MKBHD
So this week is gonna be pretty lit
-
Lit reposted
Material Design
@materialdesign
๐ดKeynote is on now๐ด
The opening #googleio keynote has just begun. Stay tuned for some exciting news...
Watch ๐บโจ ๐goo.gle/3ft7AQj -
Lit
@buildWithLit
Make sure to register before tomorrow to see our booth in the Web tent and join in the Lit & WC Round Table with @asyncLiz and @rodydavis in the @materialdesign tent!
Google for Developers
@googledevs
An I/O Adventure awaits you! ๐ฅ๐งโโ๏ธ๐
Explore product demos, collect virtual swag, and MUCH MORE at #googleio
Register to join us โ goo.gle/3u0tLU2 -
Lit reposted
Web Components SF
@WebComponentsSF
Web Components are safe and ready for production!
"We treat our control interfaces with the same level of scrutiny as the rest of the flight softwareโmeaning we need to audit any piece of third-party code we use."
Stephen Shankland
@stshank
SpaceX really likes web components (no doubt @slightlylate will be delighted to hear). "Beyond the standard advantages (compartmentalization, interop, performance, etc), we particularly value the fact they they are native to the web platform." www.reddit.com/r/spacex/comments/ncj4vz/we_are_the_spacexโฆ
-
Lit reposted
Elizabeth Mitchell
@asyncLiz
Who's gonna be at #googleio? Be sure to come say hi to me over at @materialdesign! It's gonna be #lit ๐ฅ
Google Design
@GoogleDesign
#googleio starts next week! Get ready for the fully virtual (and free!) conference with our handy guide to all things design.
Find the talks, announcements, AMAs, and meetups you wonโt want to miss. ๐ฅ โ goo.gle/io21-design-guide -
Lit reposted
Elliott Marquez
@techytacos
A lot happier with the recent bump of Lit users coming in with all sorts of different ideas and backgrounds! The Lit & Friends slack has started to turn into a full-cylenders idea factory lately
lit.dev/slack-invite/ -
Lit reposted
Elliott Marquez
@techytacos
Let's keep building!
Jared White ๐ @jaredwhite@indieweb.social
@jaredcwhite
Iโm encouraged by the fact that the web components SSR & no/minimal JS conversation on Twitter has moved from:
* No SSR? Requires JS? lolz u suck
to:
* Ooo, how can we make this even better? (details, details)
Looking forward to all the new DX patterns which will emerge! -
Lit reposted
Material Design
@materialdesign
๐ฅณIntroducing Material Design guidance...
๐for L-A-R-G-E screens!
Prepare your apps for all form factors: ๐ฑ ๐ฅ๐คณ
Scale your app and adapt, while maintaining consistent layouts using components optimized for each device.
More about the guidance ๐goo.gle/material-large-screens -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#lit tip of the day:
Sometimes you don't want an element to render at all unless it's received some it's data dependencies. In those cases, define the `shouldUpdate` method, which returns a boolean value - true if you want the element to render
#webcomponents #javascript #html -
Lit reposted
Herberth Obregรณn
@HerberthObregon
Simple routing system for PWA @buildWithLit and ct-router ๐ฅ๐
github.com/Conectate/ct-elements -
Lit reposted
Elliott Marquez
@techytacos
A small milestone for some of the big players out there, but @buildWithLit's lit-element has passed a quarter million weekly downloads on NPM!
-
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#lit tip of the day:
Rendering lists, arrays, or other collections in your lit #webcomponent is as easy as mapping over the list with a function that returns a template result.
You can also use the `repeat` directive for keyed or sortable lists.
#html #javascript -
Lit reposted
Shane Osbourne
@shaneOsbourne
Doing streaming SSR with granular hydration - using ONLY web-components (@buildWithLit) as the primitive on both client+server is so cool. Imagine SSR'ing the bulk of an E-commerce store, but then only hydrating interactive elements... lit-ssr-bug-hjw76.ondigitalocean.app
-
Lit reposted
Tracy Lee | ladyleet
@ladyleet
"Web Components are LIT" with @justinfagnani ๐
Dive into the new @Lit 2.0 release with hosts @robocell @luixaviles + @Mastapegs!
www.podbean.com/login?url=https%3A%2F%2Fmodernweb.podbeanโฆ -
Lit reposted
Jorge del Casar
@JorgeCasar
Desarrollando Hacker News PWA con @buildWithLit - Parte 1
#estreamcoders #webcomponents
twitch.tv/jorgecasar_ -
Lit reposted
Serhii Kulykov ๐บ๐ฆ
@serhiikulykov
Are you using @vaadin web components with @buildWithLit ? Check out the new 21.0.0-alpha1 version which is compatible with Lit 2:
github.com/vaadin/web-components/releases/tag/v21.0.0-alpha1 -
Lit reposted
Serhii Kulykov ๐บ๐ฆ
@serhiikulykov
Published a set of @buildWithLit directives for using Vaadin components with Lit 2, powered by the new element expressions API.
github.com/web-padawan/lit-vaadin-helpers -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#lit tip of the day
Implement page links with state & properties, and throw in a #javascript list comprehension for fun.
๐ฉโ๐ฌ Can you refactor to use slots?
๐จ Or make it look like a button group?
Demo: lit.dev/playground/
Show us your #html, #css & #webcomponents skills ๐ -
Lit reposted
-
Lit reposted
Jared White ๐ @jaredwhite@indieweb.social
@jaredcwhite
What I love about Lit is you get incredible DX, power, & flexibilityโyet it works with *any* web stack, framework, methodology, you name it.
Want to build an SPA? Fine, sure, go for it. Want to use HTML-over-the-wire & fancy SSR techniques? No problem there! You're covered. -
Lit
@buildWithLit
Seems to have been written before Lit 2, but there's always @lit-labs/react which will automatically generate a wrapper!
Macronimous.com
@macronimous
3 Approaches to Integrate #react with Custom Elements css-tricks.com/3-approaches-to-integrate-react-with-custoโฆ
-
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#webcomponents tip of the day
Want to learn more about web components? Follow these accounts!
@buildWithLit
@FAST_UI
@hybridsjs
@modern_web_dev
@OpenWc
@shoelace_style
@stenciljs
@vaadin
@wcbytes
@webcomp_dev
@WebComponentsSF
๐ Can you add any more to the list? ๐ -
Lit reposted
Manuel Martรญn @ ๐
@manolakis
I really like @buildWithLit controllers! As I'm not able to migrate (yet) to lit-element v3 I just created a little mixin to be able to start using them in my current v2 components.
-
Lit reposted
Rody Davis
@rodydavis
Do you want to create a @figmadesign plugin with @buildWithLit? ๐
rodydavis.com/posts/figma-and-lit/
#figma #lit #webdev #plugin #webdevelopment @WebComponentsSF @OpenWc #webcomponents -
Lit reposted
James Garbutt
@43081j
ESLint @buildWithLit plugin 1.4.0 released ๐now with some extra lit v2 support, plenty of new rules in the works too github.com/43081j/eslint-plugin-lit
-
Lit reposted
James Garbutt
@43081j
had a fun day pushing a bunch of @buildWithLit tooling updates (lit-analyzer, eslint lit, eslint wc) :D new versions of the eslint plugins coming soon
-
Lit reposted
Elliott Marquez
@techytacos
"Give @buildWithLit a shot [...] [coming from React or Vue] when we sat down with Lit, a lot of the pathways in your brain map to all of the things Lit is doing โ intuitively understanding [...] so much of it travels from any other type of development you're doing"
- @robocell
Modern Web
@moderndotweb
Kick off your weekend with a brand-new #lit๐ฅ podcast episode!
@robocell @luixaviles & @Mastapegs are joined by @buildWithLit core team lead, @justinfagnani, to discuss web components, Lit 2.0, & more! ๐
Sponsored by @dexecure @ThisDotLabs๐
modernweb.podbean.com/e/s08e010-modern-web-podcast-web-coโฆ -
Lit reposted
This Dot Media
@ThisDotMedia
NEW RELEASE: "Web Components Are Lit"
@robocell @luixaviles @Mastapegs sit down with @justinfagnani & chat about web components, @buildWithLit, & more!โก๏ธ
Have you checked out the new major features of Lit 2.0 yet?๐ง
Sponsored by @dexecure @ThisDotLabs๐
modernweb.podbean.com/e/s08e010-modern-web-podcast-web-coโฆ -
Lit reposted
Modern Web
@moderndotweb
Kick off your weekend with a brand-new #lit๐ฅ podcast episode!
@robocell @luixaviles & @Mastapegs are joined by @buildWithLit core team lead, @justinfagnani, to discuss web components, Lit 2.0, & more! ๐
Sponsored by @dexecure @ThisDotLabs๐
modernweb.podbean.com/e/s08e010-modern-web-podcast-web-coโฆ -
Lit reposted
Rody Davis
@rodydavis
Do you have a @buildWithLit Web Component and want to use it in a @FlutterDev app? ๐
In this article I go over how to setup 2-way communication with a web component and embed it in the widget tree so it behaves like a widget.
rodydavis.com/posts/flutter-and-lit/ -
Lit reposted
Material Design
@materialdesign
๐บ The latest episode of #materialmade is here!
๐ก @moooi, a lighting design company, wins the #materialdesignaward for Material Theming.
๐จ @mrgt_ talks to us about using color, typography and shape to create unique user experiences.
Watch now ๐ goo.gle/3xSxQMD -
Lit reposted
Shoelace
@shoelace_style
Thereโs a new package for React users that makes Shoelace easier to use. Check it out here: github.com/shoelace-style/react
-
Lit reposted
Rody Davis
@rodydavis
Also works with @hmans three-elements!
lit.dev/playground/ -
Lit
@buildWithLit
Works on our Firefox instances, but still happy to hear the excitement!
-
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#lit tip of the day
Need to set an ARIA attr from a boolean value?
CAREFUL!
ARIA attrs aren't like regular HTML boolean attrs, they take the string values `true` & `false`. Use .toString() or the String constructor to cast your state to attributes
#html #a11y #webcomponents -
Lit
@buildWithLit
In the latest update to playground-elements, we made the preview MUCH more snappier! Check out the responsiveness in the Lit playground:
lit.dev/playground
Lit
@buildWithLit
Check out the playground-elements repo here:
github.com/PolymerLabs/playground-elements -
Lit
@buildWithLit
Reactive Controllers are not just limited to Lit and the benefits speak for themselves!
Apollo Elements - GraphQL Web Components
@ApolloElements
Wow
-
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#lit tip of the day
When to use update vs updated?
To react to an observed property change
๐ use updated
To compute & cache a value when its dependencies change, but before the next render
๐ use update
Can you think of other cases?
#html #webcomponents #javascript -
Lit reposted
Elliott Marquez
@techytacos
I like using @buildWithLit because it reminds me of how I learned how to code in the first place: index.html with a script tag and a server
-
Lit
@buildWithLit
We also have a #jobs channel on our slack!
lit.dev/slack-invite/ -
Lit reposted
Apollo Elements - GraphQL Web Components
@ApolloElements
๐ฐ๏ธ Transition incoming from CONTROL module ๐ก
๐ฉโ๐ ApolloElements ๐ @buildWithLit Controllers ๐ฎ
Get ready for composable, reusable, reactive DX
& There's lots more coming!
Follow this account to keep up-
to-date, & track progress or contribute at github.com/apollo-elements/apollo-elements/projects/2 -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
Hey look!
Got a @buildWithLit controller but need a Haunted ๐ hook?
github.com/matthewp/haunted/pull/239
@matthewcp's got you covered -
Lit reposted
Tim van der Lippe
@TimvdLippe
"Web Components offered better portability and encapsulation than our existing JavaScript behaviors. We were happy to experiment with Web Components alongside our existing front-end infrastructure since it doesnโt incur any upfront cost or โbuy-inโ to a specific framework."
๐จ๏ธNik sฤฑoqวืษนษษฅษ๐จ๏ธ
@NikCharlebois
How we use Web Components at GitHub
github.blog/engineering/how-we-use-web-components-at-github/ -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#lit tip of the day
How should data flow in your #webcomponents app?
Take scalars as attrs, reference vals as props, & fire events to notify on internal state changes
For complex jobs like sibling-to-sibling or global app comms, use a #javascript state store
#webdev #html -
Lit reposted
Benjamin Franzke
@bnfrk
#typo3 v11.2 web components are powered by Lit 2. Migration was a breeze, much thanks to @buildWithLit. We are super happy about the new release.
benni.
@bennimack
Just released #typo3 v11.2 โ Feels faster, snappier and ships with a more unified User Experience. Link Sharing, Tree Renderings based on #webcomponents typo3.org/article/typo3-version-112-escape-the-orbit
-
Lit
@buildWithLit
If you're looking for a Web Components community, then come join the largest one on the web! The Lit Slack
lit.dev/slack-invite/
Lit
@buildWithLit
Whether you need help with Lit, Web Components, or just have a general web dev question. The Lit Slack is a great place to be
-
Lit reposted
WebComponents.dev
@webcomp_dev
๐ฅ More @buildWithLit templates
1๏ธโฃ JavaScript Lit starter-kit : webcomponents.dev/edit/9XQr4sGqTTAb4FGmzx56/
2๏ธโฃ Typescript Lit starter-kit : webcomponents.dev/edit/FKLMty9J3eH9S12U1rGO/src/index.ts
3๏ธโฃ Bare HTMLElement with Lit : webcomponents.dev/edit/y36iG8gzOlqlKSOyvXl6/
#webcomponents #webdev -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#lit tip of the day
Using property converters, your element can accept a comma separated list as an attribute and convert it to an Array property. Its one way for #webcomponents to accept complex data.
#html #javascript #webdev -
Lit reposted
Elliott Marquez
@techytacos
Integrating SASS with @buildWithLit in @vite_js was surprisingly easy! @umbopepato's lit css rollup plugin really pulls it's weight too!
github.com/e111077/vite-lit-element-ts-sass -
Lit reposted
Florian Hehlen
@FlorianHehlen
Nice and simple! Learn how to integrate web components made with the new lit from @buildWithLit with #reactjs youtu.be/BtVGXQ3Y35k
-
Lit reposted
Elliott Marquez
@techytacos
Want to use Lit with TS + SASS imports? I made a sample rollup project for quick reference:
github.com/e111077/lit-sass-ts-starter -
Lit reposted
Simon Bluhm
@AnaestheticsApp
Took me 4 weeks to create a rota Progressive Web App (the easy bit), and another 2 months to convince everyone involved and get approval for hospital use. Not as easy as I thought - but will be able to start deploying in a few weeks.
2 media couldn't be displayed. See them on the original post. -
Lit reposted
Justin Fagnani
@justinfagnani
These releases will help you upgrade (even though it's already p easy!) to Lit 2 or even write a library that works with lit-html 1.x / lit-element 2.x and Lit 2 at the same time.
We're trying really hard to make upgrading as easy as possible.
Lit
@buildWithLit
LitElement 2.5.0 release (Lit 1) โ forwards compatability changes
-
Lit
@buildWithLit
LitElement 2.5.0 release (Lit 1) โ forwards compatability changes
Lit
@buildWithLit
Lit 1.4.0 release (Lit 1) โ forwards compatability changes
Lit
@buildWithLit
These changes include back-porting the syntax and import structure of Lit 2.
-
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#lit tip of the day
Have a great idea for a #webcomponent but want to test it without building a new project?
Load up lit.dev/playground/ and test your idea right in the browser. No sign-up, no npm, no github needed!
It even works with #typescript!
#html #javascript -
Lit reposted
Jordan Austin
@jordaust
Just got my @buildWithLit stickers from @kevinpschaaf. These are awesome, I can't wait to use them ๐ฅ
-
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#webcomponents & #lit tip of the day
`document.activeElement` is always in the document's light DOM.
To get the 'true' activeElement across shadow roots, you can use a recursive function that checks whether the activeElement has its own shadow root.
#html #javascript #webdev -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#lit tip of the day
Avoid side effects in `render`, meaning code that does anything other than computing a value
By keeping render "pure", your code will be more readable, and you'll avoid unintended consequences (cue half-life music)
#javascript #webdev #webcomponents -
Lit reposted
Jordan Austin
@jordaust
Today @matthew_mone on our team merged a PR that moved Vernier's whole monorepo to @buildWithLit! Around 100 components are now #builtwithlit. Everything about the new version is a win. Thanks to the team @buildWithLit! ๐
-
Lit reposted
Filip Bech in ๐ฉ๐ฐ
@Filipbech
Updated WIP #umbraco UI-library to Lit2 (@buildWithLit), and it was as easy as expected/promised. Change imports and rename decorator internalProperty() to state()... thats it! Works ๐ช
-
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#lit tip of the day
Upgrading to Lit 2? The `internalProperty` decorator is now called `state`, and it's exported from `/decorators` now. Want less to type, smaller bundles, and better APIs?
npm i -S lit
#html #javascript #webcomponents -
Lit
@buildWithLit
Errata:
- Polymer lib has been in LTM since lit-element release
- 4/21
- Uphill in the beginning, but exponential self-growth now! (just look at NPM usage of @stenciljs this year alone!)
Tyler McGinnis
@tylermcginnis
Last week (which happened to be 4/20, nice), Google released a library called "Lit".
Lit helps you more easily create web components which are framework agnostic and work anywhere HTML does.
You've probably heard that promise before, here's a quick timeline of how we got here: -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#lit tip of the day
Ever wanted to turn an old-school CSS framework into a modern design system? Override `static finalizeStyles()` from @โlit/reactive-element
Use `rollup-plugin-lit-css` for nice import DX until native CSS modules land
#webcomponents #html #css #javascript -
Lit
@buildWithLit
When people hear vanilla HTML, "feature rich API" is probably not the first thing that comes to mind. @coryrylan shows how web components can provide just that with the standard HTML you already know
Cory Rylan
@coryrylan
New part one of a two part blog post series on how #webcomponents APIs work and how to build your own with @buildWithLit !
coryrylan.com/blog/using-modern-web-components -
Lit reposted
takanorip
@takanoripe
I published an article in Japanese introducing Lit! @buildWithLit
zenn.dev/takanorip/articles/640f9fe9c6c8ca -
Lit
@buildWithLit
Lots of our team members really love using Home Assistant!
Home Assistant Devs
@hass_devs
Featured on @buildWithLit's new website lit.dev ๐
-
Lit reposted
Marcus Hellberg
@marcushellberg
Excited to see @vaadin listed on @buildWithLit's list of forward-looking organizations on lit.dev ๐
-
Lit reposted
Cory LaViska
@claviska
React users, rejoice! Now there's an easier way to use Shoelace components in React.
Please post all feedback (good and bad) as a comment on this thread ๐ github.com/shoelace-style/shoelace/issues/426
Shoelace
@shoelace_style
โ๏ธ An early beta of Shoelace for React has landed. www.npmjs.com/package/@shoelace-style/react
-
Lit reposted
Preet Shihn
@preetster
It's happening - react wrappers for wiredjs.com. Tried creating a couple of wrappers using lit-labs/react by @buildWithLit and worked like a charm. Just a couple of lines of code per element. Will be beta in next release which is coming soon.
-
Lit reposted
Elliott Marquez
@techytacos
The tutorial has a good point. It's really helpful to understand a library when you know the basics of what it's doing under the hood. We wrote a codelab for CDS 2020 that goes over the abstract basics of what lit does on top of a vanilla web component
codelabs.developers.google.com/codelabs/the-lit-path
Storybook
@storybookjs
"Since plain web components are just html, css, and JavaScript, this means that anywhere you can write regular html you can write a web component."
Storybook for web components is here! This handy tutorial shows you the way. ๐ @midvintr
ed.gr/ddjud -
Lit reposted
Storybook
@storybookjs
"Since plain web components are just html, css, and JavaScript, this means that anywhere you can write regular html you can write a web component."
Storybook for web components is here! This handy tutorial shows you the way. ๐ @midvintr
ed.gr/ddjud -
Lit reposted
Timur
@timurbuild
I did the same experiment two days ago and was blown away by the Lit + Tailwind CSS combo! With Tailwind's jit mode on, my gzipped payload of lit + 2 components + tailwind = 9 kb! And you can now reuse css classes between light and shadow dom! Outstanding!
Matthew Pagan
@Mastapegs
Tearing into the new Lit by integrating @tailwindcss with it! Thank you @buildWithLit for such an awesome front-end development experience!
#builtwithlit -
Lit reposted
Justin Fagnani
@justinfagnani
Lit components are written in standard JavaScript files. No loader needed, no bundler needed. Logic, templates and styles can all be in the same file too, for single file components.
-
Lit reposted
Lars Krieger
@Nopziiemoo
Updating the @OpenWc boilerplate to the new @buildWithLit was a blaze! Looking forward to try all the hard work that was put into this version 2!
#buildwithlit -
Lit reposted
Pierre-Marie Dartus
@pmdartus
New blog post: A complete guide on shadow DOM and event propagation with interactive visualizations.
pm.dartus.fr/blog/a-complete-guide-on-shadow-dom-and-evenโฆ
This is the kind of article I wish I had before starting my journey into web components. -
Lit
@buildWithLit
The Lit 2 Launch Livestream VOD is here in case you missed the live event. Tune in to see:
- What's new with Lit 2
- What projects are we including in lit-labs
- How Lit streaming SSR works
- Q&A from our live audience
www.youtube.com/watch?v=f1j7b696L-E -
Lit reposted
Justin Fagnani
@justinfagnani
How @buildWithLit templates work in 4 steps:
๐ท html tag gets template strings and data
๐งถ Lit creates HTML from template strings
๐ Browser parses HTML into a <template>, Lit records marker locations
๐ธ Lit clones <template> and inserts data at marker locations -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#lit tip of the day
Check out the new `lit` npm package! Now you only need a single package to start developing apps and components with lit
Missed the launch? Watch it on YouTube
www.youtube.com/watch?v=f1j7b696L-E
#javascript #html #webcomponents -
Lit reposted
Westbrook
@WestbrookJ
Running #tachometer over the Spectrum Web Components as we review our upgrade path to the RC of @buildWithLit and ๐ฑ๐คฏ EVERYTHING really is faster and smaller!! Showing upwards of 15% improvements in render time in some element with most falling in the 5-10% range ๐ฆ๐ฅ๐
-
Lit reposted
Ryan Carniato
@RyanCarniato
Verified. New Lit is looking really good.
Ryan Carniato
@RyanCarniato
New version of Lit(@buildWithLit) is legit. Good improvements performance and significant reduction in size and memory overhead. Compare lit to the older lit-element.
-
Lit
@buildWithLit
And Lit 1 is already one of the smallest and fastest out there!
Cory LaViska
@claviska
...and faster โก๏ธ
-
Lit reposted
Cory LaViska
@claviska
Lit 2.0 added features and reduced its size. ๐คฏ
-
Lit reposted
Build Awesome (11ty)
@eleven_ty
Here is @BuildWithLit demonstrating an Eleventy plugin you add to your Eleventy config to server side render a web component in your markdown file ๐
youtu.be/f1j7b696L-E?t=5710 (starts at 1:35:10)
Cory LaViska
@claviska
One-liner to get SSR working in @eleven_ty ๐คฏ
-
Lit reposted
Rody Davis
@rodydavis
Super excited about the new @buildWithLit launch! I love working with the new playground ๐
lit.dev/playground/ -
Lit
@buildWithLit
Check out our all-new site, lit.dev!
โ๏ธ All the Lit docs in a single place
๐งโ๐ป Interactive examples, tutorial and playground
โ๏ธ Lit blog
๐ Updated and expanded content
Lit
@buildWithLit
lit.dev uses our open-sourced playground-elements!
Code runs and compiles in your browser with no backend setup! Just place the component on your page, set up a project manifest, point your component to the manifest, and youโre up and running!
Lit
@buildWithLit
Try it out now:
lit.dev/tutorial/
Check out the project here:
github.com/PolymerLabs/playground-elements -
Lit
@buildWithLit
We're on in 50 minutes!
youtube.com/watch?v=f1j7b696L-E
Lit
@buildWithLit
We are live!
Lit
@buildWithLit
Are you tuned in? ๐
www.youtube.com/watch?v=f1j7b696L-E -
Lit
@buildWithLit
You asked for better code-sharing
T-minus 1โฆ
โฑ๐
youtu.be/f1j7b696L-E -
Lit reposted
๐ฉโ๐ ๏ผmodel-viewer๏ผ
@modelviewer
We are proudly #builtwithlit!
Lit
@buildWithLit
New handle who this?
This account will be all about Lit from here on out, so weโve changed our handle to @buildWithLit!
Feel free to follow the new @polymerLibrary account for occasional news on the legacy library. -
Lit
@buildWithLit
New handle who this?
This account will be all about Lit from here on out, so weโve changed our handle to @buildWithLit!
Feel free to follow the new @polymerLibrary account for occasional news on the legacy library.
Lit
@buildWithLit
We are happy to finally reveal Lit's new logo! ๐ฅ
(for real this time)
Lit
@buildWithLit
Lit gets its name from its extensive use of tagged template LITerals. ๐ค
-
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#litelement tip of the day
3 ways to write computed props:
1๏ธโฃ Declare it in `render`
โณ for fast & simple jobs only
2๏ธโฃ Class getters
โณ isolate the logic
3๏ธโฃ Set observed prop when dependencies change
โณ best choice for heavy computations
#webcomponents #javascript #html -
Lit
@buildWithLit
You asked for simpler, SSR-capable directives
T-minus 2โฆ
โฑ๐
youtu.be/f1j7b696L-E -
Lit
@buildWithLit
Hey, @angular can I copy your homework?
Yeah, just change a few things so itโs not obvious -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#webcomponents tip of the day
Writing a "vanilla" custom element? Don't set innerHTML in the constructor! That will make the browser parse your HTML for each and every instance of the element. Use a static template element instead for fast performance โก๏ธ
#html #javascript -
Lit
@buildWithLit
Reject modernity, embrace tradition
Lit
@buildWithLit
Just kidding! Ship modern JS to modern browsers!
-
Lit
@buildWithLit
You asked for better React integration
T-minus 3โฆ
โฑ๐
youtu.be/f1j7b696L-E -
Lit
@buildWithLit
You asked for multi-version interop
T-minus 4โฆ
โฑ๐
youtu.be/f1j7b696L-E -
Lit
@buildWithLit
You asked for smaller bundles & faster renders
T-minus 5โฆ
โฑ๐
youtu.be/f1j7b696L-E -
Lit
@buildWithLit
โถ๏ธ Excited for the April 21st livestream? So are we!
๐ The live stream link is up, tune in at 10am US Pacific or click the get notified button ๐
youtu.be/f1j7b696L-E -
Lit
@buildWithLit
Yโall didnโt seem to like the color choice yesterday
-
Lit
@buildWithLit
git merge lit-next
github.com/polymer/lit-html -
Lit
@buildWithLit
I've heard people love this color scheme
-
Lit
@buildWithLit
Major release requires a major announcement! ๐ฃ ๐ฃ
The Lit team will be hosting a live stream on April 21 on our YouTube Channel โถ๏ธ
Make sure to subscribe and hit the notification icon!
www.youtube.com/channel/UCok4ZKSzM3jY7JQRMlF-DPg
Lit
@buildWithLit
L1kE c0mMEnT & SubScRib3!
smash that like button and click on the bell icon to be a part of the Lit crew ๐
merch store in the comments:
shop.polymer-project.org
Lit
@buildWithLit
Please note that the store is a tech demo and doesn't actually charge anything. And please don't file any more GitHub bugs saying you haven't received your hoodie because it ain't coming
-
Lit
@buildWithLit
Felt cute might take down later
-
Lit reposted
Web Components SF
@WebComponentsSF
Declarative Shadow DOM Shipping in Chrome 90!
Chrome for Developers
@ChromiumDev
Chrome 90 is rolling out now! Better overflow handling, Declarative Shadow DOM, and more. In a flashback to the 90s, @petele has all the details at www.youtube.com/watch?v=h3MONldIoNM or developer.chrome.com/blog/new-in-chrome-90/
-
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#webcomponents tip of the day:
Have a custom element class and need to get its tag name? Instantiate the class then read the `tagName` property:
#html #javascript #customelements
Thanks @jpzwarte for the inspiration! -
Lit reposted
James Garbutt
@43081j
Tip: specify the tag name in a getter to avoid specifying it twice in #webcomponents #litelement
-
Lit reposted
Lars Knudsen โฅ๏ธ๐บ๐ฆ in ๐ฉ๐ฐ
@denladeside
At @Maersk, @b0rgcube and I created a design for an internal enterprise web application built on the pure web platform (no framework) + @polymer LitElement ('sugar coating' WC) that has proven to work extremely well and we will share our findings for others to use.
-
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#litelement #lithtml tip of the day:
3 ways to hide content:
1๏ธโฃ: `hidden` attr
2๏ธโฃ: JS ternary
3๏ธโฃ: Ternary, cases swapped
"Readability" is subjective, but 3 can be considered more "readable" than 2. Prefer 1 where possible, for faster updates -
Lit reposted
Matsu
@matsuuu_
@OpenWc was the reason I got into and fell in love with #webcomponents
Their material made starting out really easy and they constantly create better tooling which I use on almost all of my projects.
Without @OpenWc and @polymer , I wouldn't be doing Web Components like I am
Thomas Allmer
@daKmoR
@OpenWc was my first big open source project ๐ so many awesome people joined โฅ๏ธ
github.com/open-wc/open-wc
later we generalised some parts to @modern_web_dev ๐ช
github.com/modernweb-dev/web/
lion is part of my work at ING (yes I do open source in work time ๐ฑ)
github.com/ing-bank/lion -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#litelement tip of the day:
listen for the `slotchange` event to handle changes to slotted content. This isn't specific to LitElement, it's a platform feature built in to every <slot> element, so use it with any #webcomponent
#html #javascript #webdev -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#litelement tip of the day:
Customize a property's reactivity by defining your own accessors. Make sure to call `this.requestUpdate` with the previous value afterwards to run LitElement's property effects
#html #javascript #webcomponents -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#litelement tip of the day:
Control how your element serializes and deserializes its attributes. For example, accept a date string as an attribute for a Date instance property
#html #javascript #typescript #webcomponents #webdev -
Lit reposted
Adam Bien
@AdamBien
"How lit-html happened": an airhacks.fm podcast episode with @justinfagnani about Web Components, @polymer and the creation of @lit_html is ready to listen: adambien.blog/roller/abien/entry/how_lit_html_happened_an #airhacks #podcast #webcomponents #lithtml
-
Lit reposted
Elliott Marquez
@techytacos
Gotta say @ lit-labs/react is pretty cool
stackblitz.com/edit/react-bmke7h?file=src%2FApp.js -
Lit
@buildWithLit
Have you ever wanted to
๐ค share logic across your components?
๐ช Hook into the lit lifecycle?
๐ โโ๏ธ And do all this without composing another element?
Get ready for Lit 2's Reactive Controllers coming soon!
Lit
@buildWithLit
Start tinkering with Lit 2 and reactive controllers now!
jsbin.com/fuqosogusi/edit?html,output -
Lit
@buildWithLit
Using Lit and want a curated list of resources? @serhiikulykov's got you covered with awesome-lit-html
github.com/web-padawan/awesome-lit-html -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#litelement #lithtml tip of the day:
For more control over event handlers, pass an object with a `handleEvent` method and partial event listener config. Useful for passive or one-time event listeners.
#html #javascript #webdev -
Lit reposted
Joren Broekema
@jorenbroekema
Tip: maybe a little straightforward but, conditionally rendering container or wrapper element is easier and less duplicate code if your content is its own template. First: duped. Second: clean.
More broadly, use templates to group/encapsulate parts of your component's total. -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#litelement #lithtml tip of the day:
Event handlers in your template automatically bind `this` to the element instance, so you can pass instance methods first-class.
Use `.bind` or an anonymous function for more control.
#html #javascript #webdev -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#litelement tip of the day:
Using #typescript? Add your element to the global `HTMLElementTagNameMap` to get autocomplete and type-checking on the DOM API:
Works for any custom element, not just LitElement!
#html #webcomponents #javascript #webdev -
Lit reposted
Marcus Hellberg
@marcushellberg
My Vaadin Fusion tutorial is out! 14 chapters covering:
๐ฅ LitElement & TS views + components
๐ฆ Vaadin components, router, binder
๐ธ๏ธMobX state management
๐ถOffline PWA
๐Java Spring Boot, Data & Security + H2/PostgreSQL
๐Heroku deployment
vaadin.com/docs/latest/fusion/tutorials/in-depth-course -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#litelement #lithtml tip of the day:
Setting a boolean attribute, like `hidden` or `disabled`? They are true when present or false when absent. Use the `?` prefix on the attribute to avoid unexpected behaviour
#javascript #html #webdev -
Lit reposted
Justin Fagnani
@justinfagnani
One thing I'm really excited about is the playground-elements and the tutorial we're building with them.
I think we can publish the tutorial components so that anyone can really easily add interactive tutorials to their site. -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#litelement tip of the day:
Not every property declaration needs a `type` annotation. If you accept objects or arrays as DOM properties only, use `attribute: false` to explicitly disable attribute parsing.
#javascript #html #lithtml #webdev -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#litelement tip of the day:
Control how your element's `updateComplete` promise resolves. In this example, the element waits for some of it's children to update before resolving itself
#javascript #html #webdev #lithtml -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#litelement tip of the day:
Handle your #webcomponent's state in #css by reflecting attributes and selecting them on `:host`.
Do more with CSS and less with #javascript! -
Lit
@buildWithLit
Fantastique! C'est trรจs chouette ๐
Hubert SABLONNIรRE
@hsablonniere
๐คฏ A month ago I tried Twitch for the first time to live-code a Web Component that displays numbers with Cistercian numerals, so I could build a clock...
๐ฐ Article on my blog
๐บ Replay on YouTube
โจ๏ธ Project on GitHub
๐ฆ Package on npm
www.hsablonniere.com/a-clock-based-on-cistercian-numeralsโฆ -
Lit reposted
Dion Almaer
@dalmaer
Always enjoy looking through some nice, reusable, components. shoelace.style
-
Lit
@buildWithLit
๐คฏ Community contributions are the best!
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
#litelement tip of the day:
The argument to `updated` has a generic type. If you're using TypeScript, annotate it as `PropertyValues<this>` to get autocomplete for property names in `changed' -
Lit
@buildWithLit
Going old school vanilla WCs! Appreciate the LitElement shout-out in the base class section
-
Lit reposted
Vaadin
@vaadin
Did you miss the webinar with @justinfagnani presenting the new and exciting releases of LitElement and lit-html? Donโt worry, you can catch up with the full recording and text version: vaad.in/3kZHLK3 @polymer #lithtml #vaadinwebinar
-
Lit reposted
Tsavo van den Berg, Knott
@KnottTsavo
Metaprogramming for Everyone
TC39 Spec, Static Decorators + V8 ๐ถ
Legacy & New Spec impl. from #typescript & #babel..โบ๏ธ+๐คฌ
Decorators in @angular
Deep Dive into @polymer's #litelement decorators, architecture, and the magic of their property decorator!
Proxies+=Decorators+=๐ฑ๐คฏ -
Lit
@buildWithLit
ๅคงๅคๅใใใใใ่ชฌๆใงใใใใใฐใใใ๏ผ
Zennๅ
ฌๅผ
@zenn_dev
๐ ใใใฏใขใใ โจ
WebComponentsใใๅค้จใฉใคใใฉใชใชใใorใlit-htmlใorใlit-elementใใงๅฎ่ฃ ใใฆๆฏ่ผ
by @carotene4035
zenn.dev/carotene4035/articles/e1846fd8cc1fa5 -
Lit
@buildWithLit
๐๐ Looks at how small lit-next is ๐ฅณ
Melissa McEwen @ Content Blueprint
@contentbluep
People really are like this:
-
Lit reposted
Richard MacManus
@ricmac
I spoke to Googleโs @polymer lead @justinfagnani about their Web Components library LitElement and how it relates to the React JavaScript library (also quoted, @rauchg from Next.js) thenewstack.io/polymers-web-component-library-litelement-โฆ
-
Lit
@buildWithLit
๐คSSR
๐ฎControllers
๐คSmaller bundles
๐Faster code
โBetter react integration
๐จFLIP (โโะโ)โๅฝกโปโโป
What's not to love? Learn about everything coming to Lit 2 from @vaadin w/ @marcushellberg ft. @justinfagnani
youtu.be/F3y5E9YVtsk -
Lit reposted
Daniel Vivar
@jdvivar
Tired of complex Redux examples that only use React? Here's a minimalist no-frills Redux Toolkit example using @polymer's LitElement Web Components written at @ThePracticalDev. It also features @snowpackjs! Happy coding! ๐ค
dev.to/jdvivar/here-s-a-minimalist-no-frills-redux-toolkiโฆ -
Lit reposted
James Garbutt
@43081j
we've been using @materialdesign web components (by the @polymer team) since 2018 apparently - they're still WIP but definitely check them out github.com/material-components/material-components-web-coโฆ
-
Lit reposted
Joonas Lehtinen
@joonaslehtinen
Sneak peek to something really cool we are working on...
Code first Web UI editor for @vaadin and @lit_html - built on @VisualStudio Code. -
Lit reposted
Material Design
@materialdesign
๐ง What is the biggest challenge for your company's design system?
-
Lit
@buildWithLit
This coming Wednesday @justinfagnani is going to talk all about the next major version of #lit with @vaadin . It's gonna be big, make sure to sign up!
Vaadin
@vaadin
Next week @justinfagnani from the @Polymer team at Google will join us to talk about what's coming to #litelement and #lit-html. Don't miss out!
vaad.in/3tZ6Rgt -
Lit reposted
Vaadin
@vaadin
Next week @justinfagnani from the @Polymer team at Google will join us to talk about what's coming to #litelement and #lit-html. Don't miss out!
vaad.in/3tZ6Rgt -
Lit reposted
Elliott Marquez
@techytacos
I finally got around to watch @PowersBenny on @apollographql's stream w/ @theworstdev and was really impressed with apollo-elements' design as well as Benny's super-precise knowledge of the Lit team's timelines and status.
Looking over my shoulder ๐ต๏ธโโ๏ธ
www.twitch.tv/videos/897976992 -
Lit reposted
๐ฉโ๐ ๏ผmodel-viewer๏ผ
@modelviewer
Very impressive use of our web component! www.slide3d.com
Especially nice is the use of annotations in combination with pointers baked into the 3D model. -
Lit reposted
This Dot Labs
@ThisDotLabs
Learn the basics of app building with #litelement and the new #vaadinfusion framework in this free live tutorial, featuring @marcushellberg!
Part of the #javascriptmarathon, returning this month!
January 20th, 2020 @ 5:00pm ET
RSVP!
www.thisdot.co/resources/Building-an-app-with-LitElement-โฆ -
Lit reposted
PWABuilder
@pwabuilder
Sharing our approach on building PWAs using Web Components via @polymer #litelement. It will be also the foundations of our new redesign. Great article from @Justinwillis96 detailing our choices. medium.com/pwabuilder/building-pwas-with-web-components-3โฆ
-
Lit
@buildWithLit
New to Web Components or Lit? ๐ This codelab will teach you the basics of what a Web Component is and what Lit does on top of a Web Component ๐
codelabs.developers.google.com/codelabs/the-lit-path -
Lit
@buildWithLit
Full documentation coming on stable release โ๏ธ๐๐
WebComponents.dev
@webcomp_dev
๐ We support the upcoming lit-html v2 (next-major) in stories now
๐กReminder: You can discover lit-html v2 new capabilities with @WestbrookJ collections : webcomponents.dev/user/Westbrook?collection=lit-next
#webcomponents -
Lit reposted
WebComponents.dev
@webcomp_dev
๐ New templates for #twind
#twind is a very interesting "@tailwindcss-in-JS" solution.
Recently been introduced by @lukejacksonn and @saschatandel.
Check templates here ๐ webcomponents.dev/new
โ๏ธ plain custom-element
โ๏ธ with @polymer LitElement
#webcomponents #tailwindcss -
Lit reposted
Justin Fagnani
@justinfagnani
The upcoming ReactiveController feature in the next major versions of the Lit libraries is going to be *awesome*.
It's a very simple idea, and very low magic, but will really improve code sharing and composition in the ecosystem. Looking for to writing docs when I get back :) -
Lit
@buildWithLit
๐ง Just a little sprinkle of sugar on top ๐ฉ
Boris Smus ๐บ๐ฆ๐ฎ๐ฑ๐จ๐ฆ
@borismus
Current preferred web devย environment:
- Controller layer in pure JavaScript
- View layer that consists entirely of nested custom elements (a bit of lit- is OK)
- No build system -
Lit reposted
Chrome for Developers
@ChromiumDev
๐ Design once. Build once. Use everywhere.๐
Learn how Web Components empower your design systems with @asyncLiz & @rodydavis.
๐บSee how your designers & engineers can provide your design to teams using any framework from React, Vue, Angular, & more โ goo.gle/2KJWZVE -
Lit
@buildWithLit
The #chromedevsummit Lit room is pretty lit! Join in!
developer.chrome.com/devsummit/adventure/Post not available here, view on X
Lit
@buildWithLit
And finally, build a 3D web toy Brick Viewer element to see how well Web Components can simplify an imperative API
codelabs.developers.google.com/codelabs/lit-brick-viewer
Lit
@buildWithLit
Just want to sit back and relax? Then play our Component 64 games built with our serverless playground-elements in-browser code editor! Hack the games as you play them!
litcds2020.dev -
Lit reposted
Rody Davis
@rodydavis
Come join me in the Lit room at @ChromiumDev #chromedevsummit ๐
developer.chrome.com/devsummit/adventure/ -
Lit reposted
Rody Davis
@rodydavis
Want to build a design system with Web Components? ๐
Join @asyncLiz and myself in our latest #chromedevsummit video where we (@materialdesign) talk about how to design at scale with #webcomponents ๐
Design once. Build once. Use everywhere.
๐ฆ youtu.be/DBcz_bGcHgk -
Lit reposted
ใ...LOVEใ- all day. err day. - HIPHOP and CODE
@lifelongdev
Liked it so much, that I've been writing a series of posts at the @VonageDev blog on creating a #webcomponent with #litelement & @OpenWc and how to use it in @reactjs , @vuejs, @angular (coming soon), and more.
dwane.in/vonage -
Lit reposted
Elizabeth Mitchell
@asyncLiz
Want to learn how to make your design system ๐ช and scale everywhere?
Check out this #chromedevsummit talk where @rodydavis, myself, and a special guest ๐ฆ share how @materialdesign is using web components ๐
Design once. Build once. Use everywhere.
youtu.be/DBcz_bGcHgk -
Lit reposted
Elizabeth Mitchell
@asyncLiz
Come wave at me in the #chromedevsummit adventure! It's adorable ๐
Plus there's a ton of cool booths, games, collectibles, and all sorts of fun web stuff to do!
developer.chrome.com/devsummit/adventure/ -
Lit
@buildWithLit
Today is #chromedevsummit!
๐ฅ Join us at our virtual booth and unlock the secret of the Lit flame ๐ฅ
goo.gle/cds-adventure
more details here > developer.chrome.com/devsummit/
Lit
@buildWithLit
We also have a great talk today by @rodydavis and @asyncLiz on maintaining a component system built with Web Components!
Lit
@buildWithLit
Most of the team will be on Realm 1, but if you can't chat in game join us on our #cds2020 channel on the Polymer slack!
link:
app.slack.com/client/T03PF4L4C/C01GJKM0NEP
signup:
www.polymer-project.org/slack-invite -
Lit
@buildWithLit
It's great to see LitElement included in the State of JS survey for the first time
Do you enjoy using LitElement? Let it be known! ๐ฃ
stateofjs.com -
Lit reposted
Vaadin
@vaadin
Vaadin 18 is officially out and it comes with improvements for both Flow and Fusion. Youโll find a few surprises, like complete LitElement support (including Vaadin Designer!). Check out the full list of changes. #vaadindesigner #vaadinfusion #vaadinflow
vaad.in/3ltyqJ5 -
Lit reposted
Lars den Bakker
@LarsdenBakker18
Thanks to @43081j we now have an initial version of hot module replacement for @โweb/dev-server modern-web.dev/docs/dev-server/plugins/hmr/ ๐ฅ
Initial explorations of HMR for web components is looking promising! It would be great if we can settle on a common protocol across libraries. ๐ช -
Lit
@buildWithLit
More to come this CDS! ๐
developer.chrome.com/devsummit/
cred: @straversi1
KฮNNETH ใป ใฑใใ
@kennethrohde
If you are into LEGO, this is pretty cool
polymerlabs.github.io/brick-viewer/ -
Lit reposted
WebComponents.dev
@webcomp_dev
๐กSpotlight on organization : @OpenWc
Find collections of 50+ examples to learn about @polymer's LitElement and @matthewcp's Haunted.
Available on the homepage of directly at:
webcomponents.dev/org/open-wc
#webcomponents #webdev -
Lit reposted
Tam ๐ณ๐จ
@JeremiahTam
If you're a React Developer you should totally look up Lit-html and LitElement js libraries
-
Lit reposted
Rody Davis
@rodydavis
Choosing the right navigation for your app ๐
youtu.be/cbPe9_DKLYw
@FlutterDev @WebComponentsSF @materialdesign @polymer #html #css #webdev #navigation -
Lit
@buildWithLit
๐ค lil'element ๐
WebComponents.dev
@webcomp_dev
The upcoming @polymer LitElement v3 (next-branch) is good ๐
-
Lit reposted
lil PWA
@Justinwillis96
Exciting! We are huge fans of LitElement over on the @pwabuilder team and use it for our pwa-starter kit github.com/pwa-builder/pwa-starter . The perfect combination of being lightweight and simple while still having everything you need to build components and even apps๐
Lit
@buildWithLit
LitElement 3.0 & lit-html 2.0: Early Preview Release
Learn more about what's in the near future and how you can try it now:
www.polymer-project.org/blog/2020-09-22-lit-element-and-lโฆ -
Lit
@buildWithLit
LitElement 3.0 & lit-html 2.0: Early Preview Release
Learn more about what's in the near future and how you can try it now:
www.polymer-project.org/blog/2020-09-22-lit-element-and-lโฆ -
Lit reposted
Web Rush Podcast
@web_rush
Native HTML and LitElement on @RealTalkJS with @AlanGDavalos
Episode 101
realtalkjavascript.simplecast.com/episodes/episode-101-baโฆ
Sponsored this week by @ag_grid and @raygunio -
Lit reposted
This Dot Labs
@ThisDotLabs
New blog article "Routing Management with LitElement and TypeScript" by @luixaviles is up on @ThisDotLabs.
Learn how to start by building your personal website, create a project, and more!
Read it here : www.thisdot.co/blog/routing-management-with-litelement
#devtips #codenewbies #typescript #litelement -
Lit reposted
Abdรณn Rodrรญguez
@abdonrd
LitElement v2.0 has been out for about a year and a half now.
Do you have any ideas or suggestions for LitElement v3.0? โฌ๏ธ
github.com/Polymer/lit-element/issues/1077 -
Lit reposted
Modern Web
@modern_web_dev
๐ We're happy to finally introduce:
๐ฅ Modern Web ๐ฅ
At Modern Web, we aim to provide developers with the guides and tools they need to build for the modern web.
Find out more in our announcement blog:
modern-web.dev/blog/introducing-modern-web/ -
Lit
@buildWithLit
๐
Web Components SF
@WebComponentsSF
The Link is up!
www.youtube.com/watch?v=MS7y2K7tZto
Lit
@buildWithLit
SpaceX Dragon uses Web Components! Nice! ๐๐ฐ๐พ
Lit
@buildWithLit
Learn more here:
Web Components SF
@WebComponentsSF
That's a wrap! Excellent talk and excellent questions. Watch the replay here:
youtu.be/MS7y2K7tZto -
Lit reposted
Web Components SF
@WebComponentsSF
Are you ready for this Thursday's Web Components SF Online Meetup? Add it to your calendar:
accounts.google.com/v3/signin/identifier?continue=https:/โฆ -
Lit reposted
Web Components SF
@WebComponentsSF
Kristjรกn Oddsson (@koddsson) will talk on how they use Web Components to build github.com and help engineers at @github write readable, performant & accessible front end components and patterns as part of the Web Systems team. ๐
RSVP & info:
www.meetup.com/WebComponentsSF/events/272213276/ -
Lit
@buildWithLit
We have some new releases today! ๐๐
lit-html 1.3.0:
Lit
@buildWithLit
lit-element 2.4.0:
-
Lit
@buildWithLit
It's a series, too!
www.nexmo.com/blog/author/dwanehemmings
Web Components SF
@WebComponentsSF
Great article from @Vonage highlighting @polymer lit-element @materialdesign's MWC component set and @OpenWc
www.nexmo.com/blog/2020/08/13/creating-a-web-component-wiโฆ
Lit
@buildWithLit
ใ...LOVEใ- all day. err day. - HIPHOP and CODE
@lifelongdev
#code My latest post about creating #webcomponents with @OpenWc & publishing to @npmjs is up on the @VonageDev / @Vonage blog. Step by step guide with screen recordings & an exercise to make it better! Feedback is welcomed! What have you built?
www.nexmo.com/blog/2020/08/13/creating-a-web-component-wiโฆ #javascript -
Lit
@buildWithLit
๐๐จ Want to build lit for production? ๐ฅ๐ฅ๐ฅ
Check out our new docs here ๐
lit-element.polymer-project.org/guide/build -
Lit reposted
Thomas Allmer
@daKmoR
sweet - web component are everywhere ๐ค
Passle
@passle_
Ever wonder if a page uses custom elements? Try this new Chrome extension: chrome.google.com/webstore/detail/custom-elements-locatorโฆ
You might be surprised to find who's using custom elements! Let me know if you find anything cool! -
Lit reposted
George Griffiths
@griffadev
Used LitElement along with @OpenWc for first time in over a year today, after doing #react Dev full this year, what a breath of fresh air. Even trying typescript for first time and this was so easy thanks to the amazing scaffolded from openwc ๐คฉ #webcomponents
-
Lit
@buildWithLit
๐๐๐๐
Web Components SF
@WebComponentsSF
Come join us for the first ever virtual Web Components SF on August 27th, and learn how people are using Web Components around the world! ๐
RSVP and more info on the Meetup page:
www.meetup.com/WebComponentsSF/events/272213276/ -
Lit
@buildWithLit
๐ Congrats on the launch @FAST_UI ๐
Glad to be pushing WebComponents forward, together!
Check them out @ fast.design -
Lit
@buildWithLit
Might even say there are things still in the pipeline ๐
-
Lit reposted
Rody Davis
@rodydavis
Super excited to announce that I am joining @Google as a Developer Advocate for @materialdesign ๐ฅณ
I will focus on helping people make better products using Web Components ๐
material.io/develop/web/ -
Lit reposted
Ronny Roeller
@ronnyroeller
We open sourced our markdown editor based on @polymer and @ProseMirror ๐ github.com/Collaborne/mwc-markdown-editor/ #webcomponents
In fact, our first component using the @OpenWc template! ๐ -
Lit
@buildWithLit
Constructable stylesheets & ๐ฆ Haunted ๐! Two things we love coming together
Ryosuke
@whoisryosuke
Here's an example of the hook used inside a Haunted component. Doesn't it almost look like a #react / #preact component? ๐
Lit
@buildWithLit
Parts of Constructable Stylesheets we love:
โฌ๏ธย Dedupe shared style bytes when imported
โฉย Faster stylesheet dedupe than a <style> in shadow root
๐ Helping pave the way for native CSS modules! -
Lit reposted
Benny Powers is a Jew ๐ฎ๐ฑ๐ฆ๏ธ
@PowersBenny
OMG Nintendo UI is using LitElement ! ๐ฅฐ๐ฅฐ๐ฅ๐ฅ
-
Lit reposted
Michael Bleigh
@mbleigh
I've built a couple apps for my own amusement recently. My revised "joy of web" stack:
@Firebase (of course)
Snowpack (from @pikapkg)
@typescript
LitElement (from @polymer)
unistore (from @_developit)
@tailwindcss
Thanks to folks who are making web dev feel easy and fun again. -
Lit reposted
Web Components SF
@WebComponentsSF
WCSF is coming back this Summer! If you'd like to be a speaker at our first live, online meetup, even if you're not in SF and it's winter where you are, fill out this form:
forms.gle/Zm5K5rchmBuVsPBDA -
Lit reposted
lil PWA
@Justinwillis96
Getting started building a PWA with web components (thanks to lit-element from the @polymer project!) in under 30 seconds using @pwabuilder and the Windows Terminal!
-
Lit
@buildWithLit
Welcome to the native ES Module club! ย ๐
-
Lit reposted
Thomas Allmer
@daKmoR
if you like web components you better join @polymer project's slack. And be sure to check out the @OpenWc channel in there ๐ค
www.polymer-project.org/slack-invite -
Lit reposted
Elliott Marquez
@techytacos
Checkit! www.npmjs.com/package/rollup-plugin-minify-html-literals
-
Lit reposted
Thomas Allmer
@daKmoR
"We quickly moved Banked.js to use Open WC and havenโt looked back. Itโs meant we could delete a huge amount of home-brewed tooling and the tradeoffs have been worth it."
๐ฅฐ๐ช
Banked :
@wearebanked
The latest Banked : Article is live from our CTO, @Joe8Bit & the Engineering team:
'Shipping Web Components in 2020' including a break down of how we tackled Banked.js Have a read: medium.com/@banked/shipping-web-components-in-2020-ff387cโฆ
#javascript #js #fintech #openbanking #payments #webperf -
Lit reposted
Horacio Gonzรกlez ๐ช๐บ ๐ฅ
@LostInBrittany
I just updated my lit-element based QRcode decoding custom element from its old @polymer tooling to @OpenWc tooling (and as everytime I use OpenWc, I realize once again how a great project it is...)
github.com/LostInBrittany/granite-qrcode-decoder
#litelement #webcomponents -
Lit reposted
Tsavo van den Berg, Knott
@KnottTsavo
I <3 lit-element & #webcomponents so much I felt the need to post this beautiful markup. Haven't seen a div in a hot min!
Built with #runtime ~ runtime.dev ~ becoming more stable every day! -
Lit reposted
Sergio Contreras
@sergicontre
Adobe Spectrum design system based on web components, ES-Modules, and modern browser standards using LitElement and open-wc. @polymer @OpenWc
opensource.adobe.com/spectrum-web-components/ -
Lit
@buildWithLit
๐ Built with #litelement ๐
Judah Gabriel ๐ฎ๐ฑ
@JudahGabriel
Announcing pwa-auth: a new sign-in component for the modern web. โจ๐
It uses new web APIs to speed through sign-ins, it's lightweight, open source, and built with โค by the @pwabuilder team. ๐
Check it out: medium.com/pwabuilder/pwa-auth-a-new-sign-in-component-foโฆ -
Lit reposted
David East
@_davideast
Okay this is my new favorite thing.
๐ต Tea Time with interesting people and David East.
Today @justinfagnani and I discussed
- JS Modules
- lit-html on the server
- What it's like being a parent in a pandemic
Can't wait for Monday w/ @adamdbradley
www.pscp.tv/w/1YqJDELNdRDxV -
Lit reposted
Abraham Williams
@abraham
Join me in an experiment.
On Saturday at 11 am (central US) I'm going to convert a @polymer 3 component to a LitElement with Jest tests live!
The component will be from the open source @GDG #devfest conference website template, Hoverboard.
youtu.be/l-m7owhGAAA -
Lit reposted
Justin Fagnani
@justinfagnani
People often ask how lit-html works because it looks like it's just doing string building, and it's a bit unintuitive that it could be so fast.
Basically, tagged template literals are amazing.
This is the key behavior in JavaScript to understand, the rest flows from there. -
Lit
@buildWithLit
We use this in MWC and really like it! It's a fantastically-quick developer cycle
๐ข Ship modern JS to your user and
๐ค Test what you ship
Justin Fagnani
@justinfagnani
Karma and the open-wc ESM loader plugin: open-wc.org/testing/testing-karma.html
-
Lit
@buildWithLit
๐กA couple of lit releases to brighten your day ๐ฅ
*LitElement 2.3.0*
github.com/Polymer/lit-element/blob/master/CHANGELOG.md
*lit-html 1.2.0*
lit-html.polymer-project.org/guide/release-notes/1.2.0.html
Lit
@buildWithLit
๐ขIf you're using TypeScript 3.4, we've just released lit-html 1.2.1 and LitElement 2.3.1 to fix a compatibility issue.
๐Thanks to the alert community folks who gave us the heads up. -
Lit
@buildWithLit
New to web components? Here's a great crash course on making a vanilla web component by @traversymedia
Does it seem too low-level and cumbersome? Try a lit-element codelab by @OpenWc and experience the difference
open-wc.org/codelabs/
Brad Traversy
@traversymedia
Web Components Crash Course youtu.be/PCWaFLy3VUo via @YouTube
Lit
@buildWithLit
Or if you don't want to set up anything locally, follow our guide at:
lit-element.polymer-project.org/try -
Lit reposted
Sergio Contreras
@sergicontre
๐The best and easiest way to make Web Components. ๐ขNew release from LitElement base class. @polymer #webcomponents
LitElement 2.3.0
github.com/Polymer/lit-element/blob/master/CHANGELOG.md -
Lit
@buildWithLit
MWC Canary builds are now available on NPM, check it and let us break you! ๐ค๐ฅ
www.npmjs.com/package/@material/mwc-textfield
Lit
@buildWithLit
Check our changelog's unreleased section to see what's in the release!
github.com/material-components/material-components-web-coโฆ -
Lit
@buildWithLit
๐ Structured LitElement and Web Components codelabs made by our community? ๐ฉโ๐ป๐๐จโ๐ป
๐ Aww shucks! ๐ฅฐ
๐๐๐
open-wc.org/codelabs/
Lit
@buildWithLit
oops forgot to give cred to @OpenWc
-
Lit reposted
Material Design
@materialdesign
๐ข Are you a developer building with Material who's passionate about helping others? ๐งโ๐ป๐
Apply to join #materialdesign as a Developer Advocate and improve the system while helping teams build beautiful, usable products faster โพ goo.gle/2v13BY5 -
Lit reposted
Thiago ๐ก
@Trystan2k
LitElement โค๏ธ @polymer #frontfest20 @frontfest
-
Lit reposted
Thomas Allmer
@daKmoR
The time has finally come ๐ช
I am tremendously proud to say that "ING open sources Lion: A library of performant, accessible & flexible Web Components" ๐๐๐
It focuses on:
โป๏ธ Reusability
๐น Accessibility
๐ Performance
medium.com/ing-blog/ing-open-sources-lion-a-library-for-pโฆ -
Lit
@buildWithLit
Shadow DOM Perignon; the least we can do to share our excitement with the @MicrosoftEdge team for shipping Shadow DOM
Travis Leithead
@TravisLeithead
๐Thanks so much to the Polymer team at Google and esp. @justinfagnani for the thoughtful celebratory bottle! ๐พ๐Indeed, bringing modern web components standards to Microsoft Edge has been a roundabout journey... So happy for what this enables going forward!
-
Lit
@buildWithLit
๐ฏ๐
Web Components SF
@WebComponentsSF
WebComponents are popular!
We've increased the Meetup limit since we're better prepared for more people this time around. Sign up now you didn't have a chance before: ๐๐
www.meetup.com/WebComponentsSF/events/267139989/ -
Lit reposted
Web Components SF
@WebComponentsSF
WebComponents in Space ๐๐๐จโ๐
How would traditional web UIs work with WebXR? Well @bfarrellforever from Adobe will tell you how they used webcomponents to figure that out
RSVP & info:
www.meetup.com/WebComponentsSF/events/267139989/ -
Lit
@buildWithLit
.@microsoftedge has released their Chromium-based browser. What does this mean for LitElement and WebComponents? Quite a lot ๐
www.polymer-project.org/blog/2020-01-15-edge-79-release -
Lit
@buildWithLit
Just a Monday reminder to ship modern code to modern browsers!
๐ฅ6๏ธโฃโก๏ธ๐5๏ธโฃ๐ โโ๏ธโ
๐ฅ6๏ธโฃโก๏ธ๐ฅ6๏ธโฃ๐โ -
Lit
@buildWithLit
New blog post on paths & names! Read about how we're changing the way we import modules in Polymer 3.x: www.polymer-project.org/blog/2018-02-26-3.0-preview-pathsโฆ
-
Lit
@buildWithLit
Announcing a major update to our site. New guides, material design elements, designer & more: polymer-project.org

































































































































































































































































































