Hacker News new | past | comments | ask | show | jobs | submit login

This is a good read for JS developers.

TL;DR: they’re not the same thing. Only sometimes they match (e.g. `id`) but often they don’t.

Something fun: JSX does not use attributes, even if they look like it. That’s why they have unusual naming/formatting (`htmlFor` and `className`)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: