astro/examples/framework-react
Nate Moore 42a6ceb587
Fix changesets action (#576)
* chore: move examples to `@example/`, normalize `package.json`

* chore: update lockfile

* chore: add empty changeset
2021-06-29 11:05:33 -05:00
..
src Restructure examples (#568) 2021-06-28 10:46:10 -05:00
.gitignore Restructure examples (#568) 2021-06-28 10:46:10 -05:00
.npmrc Restructure examples (#568) 2021-06-28 10:46:10 -05:00
package.json Fix changesets action (#576) 2021-06-29 11:05:33 -05:00
README.md Restructure examples (#568) 2021-06-28 10:46:10 -05:00

Using React with Astro

This example showcases Astro's built-in support for React.

No configuration is needed to enable React support—just start writing React components in src/components.

Note

: If used, components must include the JSX factory (ex. import React from "react"). Astro is unable to determine which framework is used without having the JSX factory in scope.