Hiprup
React Native

Explain JSX. How does it map to `React.createElement(...)` calls?

JSX is syntactic sugar that Babel compiles into `React.createElement(type, props, ...children)` calls — plain JS objects that React reads to build the component tree. React 17+ introduced a new JSX transform using `jsx`/`jsxs` from `react/jsx-runtime`, removing the need to import React in every file. Rules: capitalized component names, `{ }` for expressions, wrap siblings in a Fragment.

Loading question...
Explain JSX. How does it map to `React.createElement(...)` calls? | Hiprup