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. 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