3 ms·
It kind of interesting to think, how can you define 'React for X'? My best definition would be: - JSX syntax - Immediate Mode - style API (computing inside UI
by sesm 2y ago
It kind of interesting to think, how can you define 'React for X'?
My best definition would be:
- JSX syntax
- Immediate Mode - style API (computing inside UI code and having the same semantics as if it's recomputed on each render frame)
- fendy3002 2y agoYeah because jsx is popularly used by react (and even maybe the first?), people associate jsx as react. We need more jsx (tsx) outside of react, or compilable / type definitive xml.
- micael_dias 2y agoYes, JSX was created for React. It was at the time a controversial syntax that most disliked. There’s a great Honeypot documentary on React that goes over it.