3 ms·
JSX is not HTML, it imitates HTML. It is fine for it to deviate. You don’t use attributes, but properties, like className.
by sebazzz 3y ago
JSX is not HTML, it imitates HTML. It is fine for it to deviate. You don’t use attributes, but properties, like className.
- ttfkam 3y agoHTML as rendered in browsers is the target. Aliases are one thing. Not matching up to the target after rendering is quite another.