Re:My struggle to learn React
by acdha on Wednesday May 09, 2018 @03:49PM
(#17033319)
> I think React could benefit from a clearer breakdown of how JSX translates to actual JavaScript.
I think a key factor here is that JSX is JavaScript but it pretends to be HTML. Things like `className` vs. `class` aren't insurmountable but it seems to be a common source of confusion until people have internalized that divide.
I think a key factor here is that JSX is JavaScript but it pretends to be HTML. Things like `className` vs. `class` aren't insurmountable but it seems to be a common source of confusion until people have internalized that divide.