this post was submitted on 04 Nov 2024
241 points (95.5% liked)

Open Source

33163 readers
579 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 15 points 3 months ago (1 children)

Why are these TypeScript + JSX rather than just SVGs? It seems that the paths are defined as SVG but they are using some JavaScript framework to define the animations rather than just using SVG or CSS animations.

[โ€“] SirQuackTheDuck 22 points 3 months ago* (last edited 3 months ago)

Because they're using events and downloading a few megabytes of extra javascript framework is, of course, a way better option than six lines of SVG stylesheets.

Edit: forgot a /s