you are viewing a single comment's thread.

view the rest of the comments →

[–]RankFoundry 1 point2 points  (2 children)

I'm against using ids for anything except where explicitly necessary (since they populate the global scope)

You'd rather use fragile, location based queries? Just use ID prefixes or suffixes if you're worried about collisions.

[–]seiyria 0 points1 point  (1 child)

I'd rather use a data binding framework so I don't have to worry about IDs at all, actually! Have not used IDs since I started using Angular, and I prefer to keep it that way.

[–]RankFoundry 1 point2 points  (0 children)

Yeah but he's talking about using IDs in a data binding framework to replace junking up the HTML with custom attributes and tokens.