techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.6K
active users

#lithtml

0 posts0 participants0 posts today
xoron :verified:<p>JSX-Syntax with Webcomponents.</p><p><a href="https://positive-intentions.com/blog/dim-functional-webcomponents" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">positive-intentions.com/blog/d</span><span class="invisible">im-functional-webcomponents</span></a></p><p>I made something to try out and I'm working towards a UI framework for my personal projects. It's far from finished but perhaps this might be interesting to share.</p><p><a href="https://infosec.exchange/tags/functional" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>functional</span></a> <a href="https://infosec.exchange/tags/webcomponents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webcomponents</span></a> <a href="https://infosec.exchange/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a> <a href="https://infosec.exchange/tags/html" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>html</span></a> <a href="https://infosec.exchange/tags/css" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>css</span></a> <a href="https://infosec.exchange/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://infosec.exchange/tags/components" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>components</span></a> <a href="https://infosec.exchange/tags/library" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>library</span></a> <a href="https://infosec.exchange/tags/webcomponents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webcomponents</span></a> <a href="https://infosec.exchange/tags/customelements" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>customelements</span></a> <a href="https://infosec.exchange/tags/lithtml" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lithtml</span></a> <a href="https://infosec.exchange/tags/lit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lit</span></a> <a href="https://infosec.exchange/tags/polymer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>polymer</span></a> <a href="https://infosec.exchange/tags/OpenSource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenSource</span></a></p>
Digital Malayali :ve:<p>We are happy to announce our new open-source web template for creating a simple and minimal radio directory - Radiohub! It&#39;s powered by the amazing web-component library Shoelace.</p><p>Feel free to check it out and let us know your feedback.</p><p><a href="https://github.com/digitalmalayali/radiohub" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/digitalmalayali/rad</span><span class="invisible">iohub</span></a></p><p><a href="https://techhub.social/tags/digitalmalayali" class="mention hashtag" rel="tag">#<span>digitalmalayali</span></a> <a href="https://techhub.social/tags/opensource" class="mention hashtag" rel="tag">#<span>opensource</span></a> <a href="https://techhub.social/tags/webtemplate" class="mention hashtag" rel="tag">#<span>webtemplate</span></a> <a href="https://techhub.social/tags/shoelace" class="mention hashtag" rel="tag">#<span>shoelace</span></a> <a href="https://techhub.social/tags/lit" class="mention hashtag" rel="tag">#<span>lit</span></a> <a href="https://techhub.social/tags/lithtml" class="mention hashtag" rel="tag">#<span>lithtml</span></a> <a href="https://techhub.social/tags/webcomponent" class="mention hashtag" rel="tag">#<span>webcomponent</span></a> <a href="https://techhub.social/tags/radio" class="mention hashtag" rel="tag">#<span>radio</span></a> <a href="https://techhub.social/tags/radiodirectory" class="mention hashtag" rel="tag">#<span>radiodirectory</span></a></p>
Puzzle ITC<p>Ho. ho, ho - der 🎅 hat zum heutigen Tag den vierten Teil unserer Blogpostserie rund um Web Components mitgebracht! 🚀</p><p>Nachdem wir im vorderen Artikel den Projektsetup mit Lit angeschaut haben, tauchen wir nun tiefer in Lit 🔥 ein und vergleichen seine Konzepte und Features mit Angular. Du wirst sehen, dass Lit deine Aufmerksamkeit verdient hat und durchaus eine solide und schlanke Alternative zu den populären JavaScript Frameworks sein kann.</p><p><a href="https://www.puzzle.ch/de/blog/articles/2023/12/06/web-components-part-4-lit-for-angular-developers" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">puzzle.ch/de/blog/articles/202</span><span class="invisible">3/12/06/web-components-part-4-lit-for-angular-developers</span></a></p><p><a href="https://mstdn.social/tags/Frontend" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Frontend</span></a><br><a href="https://mstdn.social/tags/LitHTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LitHTML</span></a> <br><a href="https://mstdn.social/tags/Angular" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Angular</span></a></p>
🍄🌈🎮💻🚲🥓🎃💀🏴🛻🇺🇸<p>"in a way you can think of a lit element is like a computed effect of a signals although our system kinda works like a push system instead of signals that often have a pull system" ~ <span class="h-card" translate="no"><a href="https://fosstodon.org/@justinfagnani" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>justinfagnani</span></a></span> </p><p><a href="https://mas.to/tags/lit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lit</span></a> <a href="https://mas.to/tags/litHTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>litHTML</span></a> <a href="https://mas.to/tags/litElement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>litElement</span></a> <a href="https://mas.to/tags/webDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webDev</span></a> <a href="https://mas.to/tags/javaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javaScript</span></a> <a href="https://mas.to/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a></p>
🍄🌈🎮💻🚲🥓🎃💀🏴🛻🇺🇸<p>It's cool that <a href="https://mas.to/tags/Lit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lit</span></a> is integrating with <a href="https://mas.to/tags/Signals" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Signals</span></a>.</p><p>It feels like we've been circling around this design pattern for decades; they've been called Observables, Pub/Sub, State, Context, etc. </p><p>STOKED to hear that there's discussion around standardizing and adding Signals to the <a href="https://mas.to/tags/webPlatform" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webPlatform</span></a>!</p><p><a href="https://www.youtube.com/live/ri9FEl_hRTc?si=-oztbFGgLG0f9aXJ&amp;t=1636" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/live/ri9FEl_hRTc?s</span><span class="invisible">i=-oztbFGgLG0f9aXJ&amp;t=1636</span></a></p><p><a href="https://mas.to/tags/webDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webDev</span></a> <a href="https://mas.to/tags/lit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lit</span></a> <a href="https://mas.to/tags/litHTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>litHTML</span></a> <a href="https://mas.to/tags/litElement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>litElement</span></a> <a href="https://mas.to/tags/buildWithLit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>buildWithLit</span></a> <a href="https://mas.to/tags/javaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javaScript</span></a> <a href="https://mas.to/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://mas.to/tags/react" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>react</span></a> <a href="https://mas.to/tags/preact" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>preact</span></a> <a href="https://mas.to/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a> <a href="https://mas.to/tags/reactjs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>reactjs</span></a></p>
🍄🌈🎮💻🚲🥓🎃💀🏴🛻🇺🇸<p>It's super cool that <a href="https://mas.to/tags/Lit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lit</span></a> is supporting standard <a href="https://mas.to/tags/javaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javaScript</span></a> <a href="https://mas.to/tags/decorators" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>decorators</span></a>, but I'm still not going to use them!</p><p>Maybe one day when they don't need to be transpiled anymore.</p><p><a href="https://mas.to/tags/webDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webDev</span></a> <a href="https://mas.to/tags/buildWithLit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>buildWithLit</span></a> <a href="https://mas.to/tags/litHTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>litHTML</span></a> <a href="https://mas.to/tags/litElement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>litElement</span></a> <a href="https://mas.to/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a></p>
🍄🌈🎮💻🚲🥓🎃💀🏴🛻🇺🇸<p>I think that <a href="https://mas.to/tags/shadowDOM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shadowDOM</span></a> solves <a href="https://mas.to/tags/css" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>css</span></a>'s problems and <a href="https://mas.to/tags/lit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lit</span></a> is right to scope styles to the element.</p><p><a href="https://mas.to/tags/webDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webDev</span></a> <a href="https://mas.to/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://mas.to/tags/html" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>html</span></a> <a href="https://mas.to/tags/litElement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>litElement</span></a> <a href="https://mas.to/tags/lithtml" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lithtml</span></a></p>
🍄🌈🎮💻🚲🥓🎃💀🏴🛻🇺🇸<p><a href="https://mas.to/tags/lit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lit</span></a> is getting a "context" api <a href="https://www.npmjs.com/package/@lit/context" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">npmjs.com/package/@lit/context</span><span class="invisible"></span></a></p><p>It seems to work like <a href="https://mas.to/tags/React" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>React</span></a> <a href="https://mas.to/tags/Context" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Context</span></a>, but it's an open standard that other <a href="https://mas.to/tags/webComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webComponent</span></a> frameworks can apparently implement.</p><p><a href="https://mas.to/tags/javaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javaScript</span></a> <a href="https://mas.to/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a> <a href="https://mas.to/tags/webDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webDev</span></a> <a href="https://mas.to/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://mas.to/tags/lithtml" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lithtml</span></a> <a href="https://mas.to/tags/litelement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>litelement</span></a> <a href="https://mas.to/tags/webComponents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webComponents</span></a></p>
Dioramic Life<p><a href="https://mas.town/tags/solidjs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>solidjs</span></a> take 2, yesterday. Went a lot better. I think I may like it better than <a href="https://mas.town/tags/sveltejs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sveltejs</span></a> </p><p>I am on the fence a bit on the conventions for css but I must confess the scopedn styling is nice.</p><p>For comparison I may try <a href="https://mas.town/tags/lithtml" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lithtml</span></a> to determine if that is all I really need.</p>
Ben Hollis<p>Starting to play around with Lit for a custom element project I’ve started, but I don’t think I can handle going back to class components after having experienced React hooks. The ability to extract complex behaviors into reusable hooks is just too useful. I would rather avoid class-based code where possible. <a href="https://mstdn.social/tags/lithtml" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lithtml</span></a> <a href="https://mstdn.social/tags/customelements" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>customelements</span></a> <a href="https://mstdn.social/tags/WebComponents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebComponents</span></a></p>
Zarin Loosli<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@hasanhaja" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>hasanhaja</span></a></span> that's part of why I'm curious about <a href="https://mastodon.world/tags/hauntedjs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hauntedjs</span></a> , which brings functional components to <a href="https://mastodon.world/tags/lithtml" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lithtml</span></a> . And to be clear, the tooling isn't awful, it's just not as good as you'd expect from the most popular framework (big surprise).</p><p>However, the devex of vanilla <a href="https://mastodon.world/tags/webcomponents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webcomponents</span></a> is as least as far behind lit as lit is behind React. If you know you want to be framework-agnostic, lit is a pretty obvious way to go.</p><p>Personally, I really like the freedom of not being constrained to a (2/x)</p>
🍄🌈🎮💻🚲🥓🎃💀🏴🛻🇺🇸<p><span class="h-card"><a href="https://hachyderm.io/@thisismissem" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>thisismissem</span></a></span> which part of "the framework around them" do you miss? </p><p>Like if it's just the declarative DOM manipulation there are many dom-diffing libs. <a href="https://mas.to/tags/lithtml" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lithtml</span></a> <a href="https://mas.to/tags/haunted" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>haunted</span></a> <a href="https://mas.to/tags/morphdom" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>morphdom</span></a> <a href="https://mas.to/tags/virtualdom" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>virtualdom</span></a>. </p><p><a href="https://mas.to/tags/webcomponents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webcomponents</span></a></p>
NullVoxPopuli<p>I've personally also seen an adapter for <a href="https://mastodon.coffee/tags/lit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lit</span></a> / <a href="https://mastodon.coffee/tags/lithtml" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lithtml</span></a> and this whole idea of universal reactivity is so cool. Desperately needed, because... There is too much fragmentation out there, and it's nice to see it all coming together in a way that isn't dogmatic to any one particular framework or programming paradigm.</p>