4 ms·
> JSX was also a problem since we could not reuse HTML code Who has source code in native HTML lying around?
by thinbeige 9y ago
> JSX was also a problem since we could not reuse HTML code
Who has source code in native HTML lying around?
- dwaltrip 9y agoEven more, a simple find and replace for "class" to "className", and wrap it in a render function. There, now the HTML is being reused as JSX.