Skip to main content
Bun has native support for React and JSX, making it easy to build React applications without any build configuration.

Quick Start

1

Create a new project

2

Install React

3

Create app.tsx

app.tsx
4

Create server.tsx

server.tsx
5

Run the server

JSX Configuration

Bun automatically transforms JSX. Configure it in tsconfig.json:
tsconfig.json

Next Steps

Next.js

Build full-stack React apps with Next.js

JSX

Learn about JSX support in Bun