summaryrefslogtreecommitdiff
path: root/examples/framework-react/README.md
blob: 57afd632aaa148815f988731c2a0ffb13be002cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Astro + React Example

```
npm create astro@latest -- --template framework-react
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/framework-react)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/framework-react)
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/framework-react/devcontainer.json)

This example showcases Astro working with [React](https://react.dev).

Write your React components as `.jsx` or `.tsx` files in your project.
a261fa2953?s=13&d=retro' width='13' height='13' alt='Gravatar' /> Matthew Phillips 3-6/+4 2021-06-24Fix PostCSS support upstream in Snowpack (#538)Gravatar Drew Powers 3-10/+15 2021-06-24[ci] yarn formatGravatar natemoo-re 3-7/+10 2021-06-24New Props API (#515)Gravatar Nate Moore 57-132/+275 2021-06-24[ci] yarn formatGravatar natemoo-re 1-1/+1 2021-06-24Fix `{...spread}` props (#522)Gravatar Nate Moore 6-32/+107 2021-06-24[ci] yarn formatGravatar natemoo-re 5-41/+34 2021-06-24Added example of Astro usage with nanostores (#539)Gravatar Agustin Mulet 18-0/+392 2021-06-24Removed unused console.warn trap function (#537)Gravatar Mats 3-13/+6 2021-06-24Always add the HMR script in dev (#536)Gravatar Matthew Phillips 5-8/+29 2021-06-24Update ---bug_report.ymlGravatar Fred K. Schott 1-2/+3 2021-06-24Update ---bug_report.ymlGravatar Fred K. Schott 1-1/+1 2021-06-24Update ---bug_report.ymlGravatar Fred K. Schott 1-18/+8 2021-06-24Update ---bug_report.ymlGravatar Nate Moore 1-6/+6 2021-06-24Update ---bug_report.ymlGravatar Nate Moore 1-17/+33 2021-06-24Update ---framework-library-support.ymlGravatar Nate Moore 1-5/+7 2021-06-24Update ---framework-library-support.ymlGravatar Nate Moore 1-1/+1 2021-06-24Delete ---framework-library-support-request.mdGravatar Nate Moore 1-27/+0 2021-06-24Update ---feature-request.ymlGravatar Nate Moore 1-1/+1 2021-06-24Update ---framework-library-support.ymlGravatar Nate Moore 1-1/+1 2021-06-24Update ---framework-library-support.ymlGravatar Nate Moore 1-1/+1 2021-06-24Update ---framework-library-support.ymlGravatar Nate Moore 1-3/+3 2021-06-24Update ---framework-library-support.ymlGravatar Nate Moore 1-1/+0 2021-06-24Rename ---framework-library-support to ---framework-library-support.ymlGravatar Nate Moore 1-0/+0