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

They are almost literally the exact same API. Prior to the “automatic JSX transform”, they were basically identical. That’s how both libraries support JSX, which isn’t always exactly a mapping to h but is almost totally in both React and Vue (and Preact, and even in Solid if you ignore recommendations to use its custom JSX transform). The API you’re criticizing is specifically good because it enables what you prefer in React.





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

Search: