astro/examples/framework-react
github-actions[bot] e4fe7c0d02
Version Packages (#567)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-29 16:46:41 -04: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 Version Packages (#567) 2021-06-29 16:46:41 -04: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.