Hacker News new | ask | show | jobs
by nadabu 4686 days ago
Eh, not a wrapper, sorry. It's a helper that directly extends the DOM to provide syntax sugar. Yes, it is not pure DOM interface, but if it were, then the library would be a whopping 0KB. :)
2 comments

That teaches me for not looking at the source prior to commenting...my apologies (I am at work on limited time)...

I still feel this library (with the exception of the cleaner feeling API) is not much more than a wrapper/extension around the native functionality.

But good job on making it pleasing to work with (as it appears to be), and the website around introducing it is also quite nice...if I was using these DOM-wrapper-sugarizing libs to any serious degree these days I would likely consider it.

Overall this looks nice, but I feel like the javascript world is mostly moving away from the whole 'modify the layout that is pre-generated' and more towards a data driven/render what I specify world...

Yeah, i agree, which is one reason heavy-weight DOM manipulators are losing ground to small components. There will always be some need for working with the DOM though.
More like "Syntactic Olestra".