Skip navigation
HTML invoker commands are newly baseline! Here's how they work…
0:00 / 1:20

HTML invoker commands are newly baseline! Here's how they work…

Firefox for Web Developers

@FirefoxWebDevs90K followers

Visit on X
496 likesDownloadOriginal post

30,666 views

HTML invoker commands are newly baseline! Here's how they work…

16 Comments

Comments from the original post on X (Twitter)

  • Milind Mishra's profile picture

    @milindmishra_

    love this!

    3 likes

  • ~b̖̖̖̗̗̗̣̣̣̤̤̤̰̰̰̱̱̱́́́̀̀̀̂̂̂̃̃̃̈̈̈̊̊̊́́́́́́́́runo's profile picture

    @0xedb

    not feeling the -- prefix

    2 likes

  • onecodeman's profile picture

    @onecodeman

    That’s very cool! I learned something new today. Thank you for sharing!

    1 like

  • Patrick G's profile picture

    @RelevantElement

    Just dropping this here...

    1 like

  • Multiple Systems's profile picture

    @PLT_cheater

    likeable homie

    1 like

  • Michał Pasternak's profile picture

    @mpasternak79

    @htmx_org could do this yesterday without any polyfills… this is good direction but this sounds like a 90kb polyfill…

    1 like

  • Name cannot be blank's profile picture

    @thankfrankly

    Poor examples

  • Firefox for Web Developers's profile picture

    @FirefoxWebDevs

    As someone who works in web standards, the best thing is seeing people using a feature better than you could have imagined. So, how would _you_ use this feature?

    2 likes

  • Michel 🇪🇺 🇩🇰 🇳🇱 🇺🇦's profile picture

    @mplungjan

    Making HTML much more unreadable like Angular and Alpine? No thanks

  • Daryl Barnes's profile picture

    @darylbarnes

    This is my favorite new feature in years. Web component authors will be able to take advantage of this especially!

  • Jenna Grip (JojoIsMe on Bsky)'s profile picture

    @JennaGrip

    I don't see much point with this. Just make the page faster instead.

  • Firefox for Web Developers's profile picture

    @FirefoxWebDevs

    Won't less JavaScript make the page faster?

    6 likes

  • Jenna Grip (JojoIsMe on Bsky)'s profile picture

    @JennaGrip

    That's not the point. I just think it's the wrong way to solve an issue that could be solved by not flooding a website with dozens of script files. The web is woefully bloated, both on websites and browser tech. 😅

  • Firefox for Web Developers's profile picture

    @FirefoxWebDevs

    But, this feature allows behaviours to be expressed declarative, without script, when they previously needed script. That means less "flooding a website with dozens of script files", right?

    2 likes

  • Andrei Listochkin 🇺🇦🇵🇹's profile picture

    @listochkin

    Hey, Jake. How do these custom commands interact with web components? For example, can I have a custom element that listens to command events? What if the element with ID is in the shadow root? And unrelated: does the event come with a reference to a button that triggered it?

  • Azharuddin 🦀's profile picture

    @azharuddin31

    Ok this is nice.