Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It’s not tied to React at all. JSX is (intentionally) designed to have unspecified semantics, and be used as a compiler mechanism to implement arbitrary semantics. Most usage compiles to something resembling a function call or a memo of same. AFAIK all VDOMs use that approach.

Some non-VDOM JSX libraries like Solid use it as a static analysis target for optimal output.

Some libraries including React use it to target non-browser render targets. Yes, React is designed to render to arbitrary views or even non-views. It’s used for rendering WebGL, native mobile apps, TV interfaces, CLIs, PDFs and probably a lot else.

As far as what’s described here, “that’s fast” is meant as “which is fast”, it’s distinguishing itself from slower VDOMs (such as React, which is exceedingly well engineered but seldom wins performance contests in recent years).



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

Search: