lifthrasiir 4 days ago

I was also quite surprised, and I took a bit of challenge to make it a single file that faithfully reproduces the exact behavior and embeds all dependencies including the web font, besides from Inter which is only used for toasts and barely distinguishable from Arial in this context. It weighs 3,123 bytes without the specifically subsetted font which takes additional 10,433 bytes.

https://gist.github.com/lifthrasiir/f46725d3e9e9d055da40b3de...

  • [removed] 4 days ago
    [deleted]
  • Gooblebrai 4 days ago

    What were the main difficulties?

    • lifthrasiir 4 days ago

      Implementing absolutely everything, because I wasn't sure which part was intentional or not. My version even replicates some bugs and subtle behaviors: for example the toast animation lasts 5 seconds, which is measured from the beginning of fade-in animation to the beginning of fade-out animation.

rpigab 4 days ago

I'd advise a complete rewrite of Astro to Rust+WASM, then add most of what Angular does inside the framework, then usenothing will benefit from it.

jonwinstanley 4 days ago

Surely a html web page and maybe 5 lines of JS could have accomplished the same thing?

Or am I missing something?