News for hackers. Stuff that matters.
Re:The self-fulfilling prophecy of React by eyelidlessness on Thursday September 08, 2022 @09:19PM (#32774164)
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.
Re:The self-fulfilling prophecy of React by wokwokwok on Friday September 09, 2022 @05:48AM (#32777307)