News for hackers. Stuff that matters.
Re:_hyperscript: A jQuery and JavaScript Alternative by recursivedoubts on Wednesday April 21, 2021 @12:57PM (#26892239)
Thank you, I'll update the example. I usually stay in es5 for IE11 compatibility (htmx is still supporting IE11) so I tend to write js in a more archaic style.
Re:_hyperscript: A jQuery and JavaScript Alternative by epr on Wednesday April 21, 2021 @01:08PM (#26892423)
That 1% market share of IE gets smaller every day, as we wait with bated breath.
Re:_hyperscript: A jQuery and JavaScript Alternative by recursivedoubts on Wednesday April 21, 2021 @01:14PM (#26892506)
:) I know, I am looking forward to using IntersectionObserver in htmx.

But I'm a bit of a contrarian and every time someone tells me to drop IE support I think "Maybe I won't."

Re:_hyperscript: A jQuery and JavaScript Alternative by city41 on Wednesday April 21, 2021 @02:37PM (#26893715)
Also a heads up, the vanilla fade out demo doesn't work correctly (immediately disappears) as in the actual code it looks to be missing the transition line.
Re:_hyperscript: A jQuery and JavaScript Alternative by deniz-a on Wednesday April 21, 2021 @02:58PM (#26893984)
Thanks for reporting, fixed.