3 ms·
Thanks. Glad you liked it. I had no plans for inline interactive elements when I started out. It was just a plain static site using Astro, with my content in m
by faza 3mo ago
Thanks. Glad you liked it.
I had no plans for inline interactive elements when I started out. It was just a plain static site using Astro, with my content in markdown files.
When I thought of including interactive elements, I saw that Astro supported MDX, which lets you embed custom JavaScript components. At the start I was just using plain JavaScript, SVG, and CSS transitions to do the animations, but as the simulations became more complex, I started using React to manage state better.