--- name: Use React and JSX --- React just works with Bun. Bun supports `.jsx` and `.tsx` files out of the box. Bun's internal transpiler converts JSX syntax into vanilla JavaScript before execution. ```tsx#react.tsx function Component(props: {message: string}) { return (

{props.message}

); } console.log(); ``` --- Bun implements special logging for JSX to make debugging easier. ```bash $ bun run react.tsx ``` --- Refer to [Runtime > JSX](/docs/runtime/jsx) for complete documentation on configuring JSX.