# Using React with Astro This example showcases Astro's built-in support for [React](https://reactjs.org/). ## Installation ### Automatic Bootstrap your Astro project with this template! ```shell npm init astro -- --template framework-react ``` ### Manual To use React components in your Astro project: 1. Install `@astrojs/renderer-react` ```shell npm i @astrojs/renderer-react ``` 2. Add `"@astrojs/renderer-react"` to your `renderers` in `astro.config.mjs`. ```js export default { renderers: [ "@astrojs/renderer-react", // optionally, others... ] } ``` ## Usage Write your React components as `.jsx` or `.tsx` files in your project. a>
Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/packages/integrations/prefetch/test/fixtures/basic-prefetch/src/pages/admin.astro (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2022-06-28Revert "chore: remove memory test from ci"Gravatar bholmesdev 1-0/+6
2022-06-28chore: remove memory test from ciGravatar bholmesdev 1-6/+0
2022-06-28[ci] formatGravatar natemoo-re 1-1/+1
2022-06-28chore(lint): fix lint issues (#3743)Gravatar Nate Moore 2-3/+3
2022-06-28[ci] update lockfile (#3740)Gravatar Fred K. Bot 24-71/+71
2022-06-28Fix Tailwind integration Typescript warning (#3732)Gravatar Victor 2-1/+6
2022-06-27[ci] formatGravatar bholmesdev 2-3/+3
2022-06-27Refactor: remove Deno shim to esbuild "banner" (#3734)Gravatar Ben Holmes 7-15/+22
2022-06-27[ci] formatGravatar FredKSchott 9-23/+25
2022-06-27update telemetry to support more anonymized project id (#3713)Gravatar Fred K. Schott 20-351/+311
2022-06-27SImplify "astro add" by removing confusing multi-select (#3715)Gravatar Fred K. Schott 13-258/+157