Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I am not sure what the benefit of hyperscript would be here? Why not just use JavaScript + htmx?


Why not just use JavaScript + HTML?

  <img src="my_cat.jpg" alt="My cat" onclick="this.src = 'my_other_cat.jpg'">




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: