News for hackers. Stuff that matters.
Re:Show HN: kutty, jQuery-free intercooler.js by CSSer on Friday May 15, 2020 @03:07PM (#23196086)
I've been really interested in Intercooler.js, but the jQuery dependency bummed me out. This is a very cool project, and I highly appreciate you putting in the work here!

I do have one question. Is there a specific reason why you chose not to follow the standardized specification[0] of using data-* prefixes for HTML attributes? I realize it's pedantic, but I'd like to see this project receive wide support and usage. I'm concerned many potential users will criticize this.

[0]: https://html.spec.whatwg.org/multipage/dom.html#embedding-cu...

Edit: Nevermind, I just looked through the docs from the start. You do support it!

Re:Show HN: kutty, jQuery-free intercooler.js by recursivedoubts on Friday May 15, 2020 @03:14PM (#23196178)
:) Yep, do it the way you like.

Btw, check out the kt-classes attribute if you want to do some slick CSS transitions w/o javascript:

https://kutty.org/attributes/kt-classes/