DEV Community

Discussion on: Do you still use IDs for unique elements?

Collapse
 
codefinity profile image
Manav Misra

Sometimes. Generally, I like id for 'hooking' with JS - if it's really just one thing. Case and point, React is using "#app".