one nice thing about JS frameworks coalescing around the same set of patterns is that i can copy/paste this code for creating SVG sprite sheets in @astro into a
sveltekit project with literally zero changes and it Just Works™ https://til.jakelazaroff.com/astro/generate-a-static-svg-sprite-sheet/
[astro] Generate a static SVG sprite sheet | Today I Learned

A collection of useful things I've learned.

@jakelazaroff @astro

The reason for that I think is that Svelte and astro are just using vanilla JavaScript as much as possible. With Svelte you can basically use any JS library whereas other react based frameworks require some custom wrappers to interact with them.

@jakelazaroff @astro
Cool blog by the way! I love these sorts of "TIL" types of indexes.
@leafstrat @astro i will confess that i’ve never understood this criticism of react. it’s just as easy to get a reference to a raw DOM node in either framework. what am i missing?