Andrea Giammarchi

@WebReflection

Web, Mobile, IoT: all JS things since 00's. Formerly JS engineer at , , and - currently - opinions are my own ™

Joined May 2009

Tweets

You blocked @WebReflection

Are you sure you want to view these Tweets? Viewing Tweets won't unblock @WebReflection

  1. Pinned Tweet
    Nov 19
    Show this thread
    Undo
  2. Retweeted
    2 hours ago

    Many see the Edge/Chromium migration as bad for the web (reducing engine competition). I understand that concern, and share it to an extent. But bigger than that, I think it's going to be a huge win for web (PWAs) over native, and especially against iOS:

    Show this thread
    Undo
  3. Retweeted
    Nov 30
    Undo
  4. Retweeted
    Dec 5

    Independent implementations, and therefore voices, can also block bad ideas much more successfully. (E.g., PNaCl, Dart, ActiveX.)

    Show this thread
    Undo
  5. 19 hours ago

    I mean ... you had one job ... that select would've worked even with an inline onchange event but no, they went full react and next.js because that's how you create broken sites these days.

    Show this thread
    Undo
  6. 20 hours ago

    these geniuses didn't even manage to make the language change work that's not exactly how I was hoping my German taxes would be spent

    Show this thread
    Undo
  7. Retweeted
    Dec 6

    As a company with employees of more than 30 nationalities, we are very proud to support !

    Undo
  8. Retweeted
    24 hours ago

    Meanwhile from the browser team that hasn't written a blog post today

    Undo
  9. 23 hours ago

    has anyone written already a Rust transpiler so that you write camelCase but you compile sneak_case ? 😅

    Undo
  10. Dec 6

    to verify it's dark, without the previous scrap matchMedia('(prefers-color-scheme: dark)'); as suggested by 🍻

    Show this thread
    Undo
  11. Dec 6

    if now delivers `import(...)` too, I wish we could have: <script type="module" async="toplevel" src="//unpkg.com/module" />

    Undo
  12. Retweeted
    Dec 6

    This is a fantastic, brutally honest, true article about the state of web browsers.

    Undo
  13. Retweeted
    Dec 6

    Pushed a small update to last night: support for dynamic import() and import.meta in (experimental!) ?module mode. If you're on the bleeding edge, please give it shot and LMK how it goes :) /cc

    Undo
  14. Dec 6

    to test anything dark (when defaults apply) (m=>{='supported-color-schemes';m.content='dark'})(document.head.appendChild(document.createElement('meta'))) checking here and there, I can say the default link color is horrible in dark mode

    Show this thread
    Undo
  15. Dec 6

    added a link to easily test browser support and styled view The fieldset and hr are a bit too excessive, too bright, everything else looks cool.

    Show this thread
    Undo
  16. Dec 6

    FYI this is a cleaner way to set it up: <meta name="supported-color-schemes" content="light dark" /> I am trying to find a matchMedia(...) thing that works to avoid that previous JS boilerplate, there should be a better way 🤞

    Show this thread
    Undo
  17. Dec 6

    JS snippet to figure out if the user is in dark mode: const DARK_MODE = !/^(?:black|rgb\(0,\s*0,\s*0\))$/.test(getComputedStyle(document.documentElement).getPropertyValue('color')); however, media queries work too so I guess we can load conditional styles for either light or dark

    Show this thread
    Undo
  18. Dec 6
    Show this thread
    Undo
  19. Dec 5

    everything about blockchains seems to ignore Windows ... poor thing 😂

    Undo
  20. Dec 5

    what do you think is one of the shiniest use cases for a switch statement? arguments defaults has always been my favorite. from

    Undo
  21. Retweeted
    Dec 5

    📝 Introducing Background Fetch. ➡️ Perform long-running fetches in the background. ➡️ Hear about the result in your service worker. ➡️ User can see progress and pause/cancel. Demo & docs:

    Undo

Loading seems to be taking a while.

Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

    You may also like

    ·