home.social

Search

14 results for “justinfagnani”

  1. Some notable projects from the today's update whose maintainers have already joined Fediverse:

    - Lit: @justinfagnani @graynorton,
    - WebC: @zachleat,
    - Enhance: @tbeseda.

    I'm pretty sure there are more people working on here. Let's get in touch, and please let me know if I missed someone!

  2. "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" ~ @justinfagnani

    #lit #litHTML #litElement #webDev #javaScript #web

  3. Ah, yes, yet another genius proposal to solve a problem no one knew they had: a 💫 "native" 💫 #DOM #templating API! Because, clearly, the web development community hasn't had enough hand-wringing debates about what "declarative" means. 😂 Let's all gather 'round and stare in awe at the brilliance of #overthinking the obvious! 🎉
    justinfagnani.com/2025/06/30/w #webdevelopment #API #declarative #proposals #humor #HackerNews #ngated

  4. 🚀 Wow, another groundbreaking idea: let's reinvent the wheel with a DOM templating API because apparently, the current 1,000 #JavaScript #frameworks aren't quite enough. 🙄 It's like saying, "Sure, my car has wheels, but wouldn't it be better if they were square?" 🤷‍♂️
    justinfagnani.com/2025/06/26/t #reinventthewheel #DOMtemplating #techhumor #innovation #HackerNews #ngated

  5. @molily @sir_pepe Fwiw, this actually looks a lot like Lit's ReactiveElement: @property and @state-annotated properties become reactive and trigger a call to the update() method where you can update your element the way you want it.
    LitElement extends ReactiveElement to render using lit-html, but ReactiveElement can be used standalone.

    Btw, ReactiveElement also supports reactive controllers that are slowly spreading to other libraries: github.com/webcomponents-cg/co

    poke @justinfagnani

    #buildWithLit

  6. Here's a Connect 4 demo with Preact signals and Lit, based on @jaffathecake's one in Preact (piaille.fr/@jaffathecake@masto). Zero update after the first render. All changes are direct-to-DOM.

    Most of the code is copied from Jake's demo; I added a small Lit directive to achieve the direct-to-DOM that's integrated into Preact.

    lit.dev/playground/#gist=a9590

    /poke @justinfagnani

    #Preact #buildWithLit

  7. The Discord server now has forum channels!

    They really look like a much better way to do support, so if you use Lit, head on over and check them out: discord.com/invite/buildWithLit