Search
14 results for “justinfagnani”
-
The time is right for a DOM templating API
https://justinfagnani.com/2025/06/26/the-time-is-right-for-a-dom-templating-api/
#HackerNews #DOM #templating #API #webdevelopment #frontend #programming
-
-
Some notable projects from the today's #WebComponentsAdvent update whose maintainers have already joined Fediverse:
- Lit: @justinfagnani @graynorton,
- WebC: @zachleat,
- Enhance: @tbeseda.I'm pretty sure there are more people working on #WebComponents here. Let's get in touch, and please let me know if I missed someone!
-
"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
-
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! 🎉
https://justinfagnani.com/2025/06/30/what-should-a-dom-templating-api-look-like/ #webdevelopment #API #declarative #proposals #humor #HackerNews #ngated -
🚀 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?" 🤷♂️
https://justinfagnani.com/2025/06/26/the-time-is-right-for-a-dom-templating-api/ #reinventthewheel #DOMtemplating #techhumor #innovation #HackerNews #ngated -
@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: https://github.com/webcomponents-cg/community-protocols/issues/27
poke @justinfagnani
-
Here's a Connect 4 demo with Preact signals and Lit, based on @jaffathecake's one in Preact (https://piaille.fr/@jaffathecake@mastodon.social/110111677805867133). 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.
https://lit.dev/playground/#gist=a95902c8db543d453a66839277052502
/poke @justinfagnani
-
The #BuildWithLit 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: https://discord.com/invite/buildWithLit
-
@mgifford #OpenWC has a Custom Elements Locator Chrome extension: https://chrome.google.com/webstore/detail/custom-elements-locator/eccplgjbdhhakefbjfibfhocbmjpkafc?hl=en
-
@mgifford #OpenWC has a Custom Elements Locator Chrome extension: https://chrome.google.com/webstore/detail/custom-elements-locator/eccplgjbdhhakefbjfibfhocbmjpkafc?hl=en
-
@mgifford #OpenWC has a Custom Elements Locator Chrome extension: https://chrome.google.com/webstore/detail/custom-elements-locator/eccplgjbdhhakefbjfibfhocbmjpkafc?hl=en
-
@mgifford #OpenWC has a Custom Elements Locator Chrome extension: https://chrome.google.com/webstore/detail/custom-elements-locator/eccplgjbdhhakefbjfibfhocbmjpkafc?hl=en
-
@mgifford #OpenWC has a Custom Elements Locator Chrome extension: https://chrome.google.com/webstore/detail/custom-elements-locator/eccplgjbdhhakefbjfibfhocbmjpkafc?hl=en