Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@Trejak In short, scoping and maintainability concerns.
Yeah, these all use ID selectors, but I've been in projects that used CSS classes to target elements. So when multiple instances of the component got instantiated, the callback unwittingly executed on ALL instances, resulting in mind-boggling bugs.
Backbone.js scars, man.
Related Rants
-
Renze49What it's like to be a network engineer...translated into normal people speak User: I think we are having a ...
-
tahnik63So I need to create a nice new web app. Let's look at some cool JS frameworks that I can work with. *5 mins l...
-
ahmedam23What only relying on JavaScript for HTML form input validation looks like
You know you're a web dev when...
you consider not buying pizza just because the ordering website appears to use global jQuery selectors. 😣
undefined
js
pizza
view source
been there