Hacker News new | ask | show | jobs
by alexvitkov 355 days ago
The react snippet is one uppercase letter away from being vanilla js, it's definitely less magic.
2 comments

I feel that as software engineers, instead of talking about things like 'feels like magic', we are capable of reading the docs and understanding what something actually does, especially when it's pretty simple: https://htmx.org/attributes/hx-get/
And if you made that change, despite being vanilla js, it still wouldn't work.