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.
d12a0dd4e82&follow=1'>Parallel array rendering (#7136)Gravatar Johannes Spohr 5-16/+33 2023-06-02[ci] formatGravatar bluwy 1-8/+10 2023-06-02Fix sitemap filter (#7263)Gravatar André Alves 4-2/+54 2023-06-01Fix duplicate `semver minor` blocks (#7269)Gravatar Nate Moore 1-12/+11 2023-06-01fix: build fail upon have 'process.env' in *.md file. (#7257)Gravatar Thiti Yamsung 2-1/+8 2023-05-31[ci] formatGravatar bholmesdev 4-6/+5 2023-05-31Markdoc asset bleed, second try (#7185)Gravatar Ben Holmes 28-131/+653 2023-05-31Fix `semver minor` action (#7261)Gravatar Nate Moore 1-38/+36 2023-05-31Revert "feat(hybrid): unflag hybrid output (#7255)" (#7259)Gravatar Nate Moore 29-65/+139 2023-05-31[ci] formatGravatar natemoo-re 3-13/+8 2023-05-31feat(hybrid): unflag hybrid output (#7255)Gravatar Nate Moore 29-130/+61 2023-05-31Markdoc: strip HTML comments from output (#7224)Gravatar Ben Holmes 2-1/+13 2023-05-30Fix out-of-date example dependencies (#7248)Gravatar Ben Holmes 33-198/+211 2023-05-30[ci] release (#7190)astro@2.5.6@astrojs/webapi@2.2.0@astrojs/vue@2.2.1@astrojs/vercel@3.4.1@astrojs/sitemap@1.3.2@astrojs/react@2.2.1@astrojs/preact@2.2.1@astrojs/partytown@1.2.3@astrojs/mdx@0.19.5@astrojs/markdoc@0.3.0Gravatar Houston (Bot) 48-171/+216 2023-05-30Content collections - fix `.json` collection errors (#7246)Gravatar Ben Holmes 4-7/+52 2023-05-30[ci] formatGravatar bholmesdev 4-5/+5 2023-05-30Markdoc - remove `$entry` variable (#7244)Gravatar Ben Holmes 16-257/+217 2023-05-30Markdoc: new README for Markdoc nodes (#7225)Gravatar Ben Holmes 1-46/+85 2023-05-30[ci] formatGravatar MoustaphaDev 1-1/+1 2023-05-30fix: prioritize dynamic prerendered routes over dynamic server routes (#7235)Gravatar Happydev 6-19/+361 2023-05-30[ci] formatGravatar matthewp 1-5/+8 2023-05-30Bug 6672 (#7062)Gravatar wulinsheng123 10-0/+138