home.social

#litjs — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #litjs, aggregated by home.social.

  1. The more I work on #ONI, which is basically a web components frontend for an as basic as possible #ActivityPub client to server service, the more I realize I'm just not built for JavaScript programming.

    Despite having put in the hours every day for a number of months, the whole Promise paradigm just doesn't seem to click for me.

    Now I'm struggling to create a throbber component (easy) while fetches happen in the background (easy) and then have it replaced (not easy) by actual content (easy).

    😱 Gaaah!!!

    #frontend #web_components #litjs #JavasScript

  2. I need to build one of these for my Vue js web app.

    I am considering using Lit JS to make it framework agnostic.

    How would you all approach this component?

    #WebDevelopment #vuejs #litjs #SoftwareDevelopment

  3. 🆕 post: Passing functions between Angular and lit.js

    This post covers an edge case of passing a function to a web component created in lit.js inside an Angular applications.

    sarahgebauer.com/post/passing-

    #litjs #angular #typeScript #webComponents #frontEnd #javaScript

  4. Eleventy + web components is 🥰

    I added a quick search to my blog:
    jschof.dev/

    Click search, or hit cmd + k (ctrl + k on windows) to see a quick fuzzy search of my posts.

    Eleventy serializes out the entries for the search statically, and the quick search web component takes it up and renders!

    #webcomponents #litjs #fusejs

  5. Eleventy + web components is 🥰

    I added a quick search to my blog:
    jschof.dev/

    Click search, or hit cmd + k (ctrl + k on windows) to see a quick fuzzy search of my posts.

    Eleventy serializes out the entries for the search statically, and the quick search web component takes it up and renders!

    #webcomponents #litjs #fusejs

  6. Eleventy + web components is 🥰

    I added a quick search to my blog:
    jschof.dev/

    Click search, or hit cmd + k (ctrl + k on windows) to see a quick fuzzy search of my posts.

    Eleventy serializes out the entries for the search statically, and the quick search web component takes it up and renders!

    #webcomponents #litjs #fusejs

  7. It's been a while! Time for a quick post about `slotchange` and checking the contents of slots in web components!

    jschof.dev/posts/2024/8/web-co

    #webcomponents #litjs #slots