npm init astro -- --template framework-react
This example showcases Astro working with React.
Write your React components as .jsx or .tsx files in your project.
.jsx
.tsx