ac3e870280
* fix: renderer behavior with no children * [ci] Prettier fix * Force CI * fix: properly handle falsy values * [ci] Prettier fix * chore: force ci * [experiment] netlify ignore Co-authored-by: GitHub Action <github-action@users.noreply.github.com> |
||
---|---|---|
.. | ||
CHANGELOG.md | ||
client.js | ||
index.js | ||
package.json | ||
README.md | ||
server.js | ||
static-html.js |
@astrojs/renderer-react
This is a plugin for Astro apps that enables server-side rendering of React components.
Installation
Install @astrojs/renderer-react
and then add it to your astro.config.mjs
in the renderers
property:
npm install @astrojs/renderer-react
astro.config.mjs
export default {
// ...
renderers: [
// ...
'@astrojs/renderer-react'
]
}