Super DOM

Languages and libraries

dom manipulation library

SHOW HN2016

26points
6comments
#1,054of 2,264 in 2016
Top 47%of 2016 by points

How HN took it

DebatedReal support and real criticism

3 positive, 0 neutral or asking, 1 mixed, 2 critical, out of 6 comments about the project. Thread score +0.24.

Design: 1 for, 2 againstIdea: 2 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Beautiful, natural way to work with the DOM

    From 3 comments
    • I hope no one says this is just a way of creating bloat. I would say to this people: go complain of jQuery if you have the guts for it. This thing is beautiful and, at least for…
      fiatjaf on HN
    • I love this. It feels like how the DOM API should have been implemented. And minified its about 4kb. Though I hate website bloat, this doesn't feel so bad. When it stabilises,…
      shakna on HN
    • Very natural way of working with DOM. Very beautiful :-).
      nenadg on HN
  • Lightweight, about 4kb minified

    From 1 comment
    • I love this. It feels like how the DOM API should have been implemented. And minified its about 4kb. Though I hate website bloat, this doesn't feel so bad. When it stabilises,…
      shakna on HN
  • Useful for small projects

    From 2 comments
    • I hope no one says this is just a way of creating bloat. I would say to this people: go complain of jQuery if you have the guts for it. This thing is beautiful and, at least for…
      fiatjaf on HN
    • This is actually really cool, and I'd be interested in performance of this versus something like jQuery. That said, this is really only for really modern browsers as it uses a…
      yladiz on HN

Objections

  • Requires modern browsers because Proxy cannot be polyfilled

    From 1 comment
    • This is actually really cool, and I'd be interested in performance of this versus something like jQuery. That said, this is really only for really modern browsers as it uses a…
      yladiz on HN
  • Not general enough for a general-purpose API; attribute lookup on class elements is unclear

    From 1 comment
    • > It feels like how the DOM API should have been implemented. It doesn't look general enough to be a general-purpose API, for instance how would you look up an attribute on all…
      tveita on HN
  • Abstractions over DOM edge cases (elements named id, class, attr) may break

    From 1 comment
    • > It feels like how the DOM API should have been implemented. It doesn't look general enough to be a general-purpose API, for instance how would you look up an attribute on all…
      tveita on HN

Requests

  • Performance comparison with jQuery

    From 1 comment
    • This is actually really cool, and I'd be interested in performance of this versus something like jQuery. That said, this is really only for really modern browsers as it uses a…
      yladiz on HN

Questions

  • How to look up an attribute on all elements of a given class

    From 2 comments
    • > It feels like how the DOM API should have been implemented. It doesn't look general enough to be a general-purpose API, for instance how would you look up an attribute on all…
      tveita on HN
    • Not sure if it's implemented in superdom but: ``` for(i = 0; i < dom.class.<class>.length; i++) { console.log(dom.class.<class>[i].<attr>); } ``` The DOM API isn't consistent,…
      shakna on HN

Alternatives named

  • jQuery

    From 2 comments
    • This is actually really cool, and I'd be interested in performance of this versus something like jQuery. That said, this is really only for really modern browsers as it uses a…
      yladiz on HN
    • I hope no one says this is just a way of creating bloat. I would say to this people: go complain of jQuery if you have the guts for it. This thing is beautiful and, at least for…
      fiatjaf on HN
  • Native DOM API

    From 2 comments
    • > It feels like how the DOM API should have been implemented. It doesn't look general enough to be a general-purpose API, for instance how would you look up an attribute on all…
      tveita on HN
    • Not sure if it's implemented in superdom but: ``` for(i = 0; i < dom.class.<class>.length; i++) { console.log(dom.class.<class>[i].<attr>); } ``` The DOM API isn't consistent,…
      shakna on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/12897784)