@astrojs/renderer-react

0.5.0 • Public • Published

@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'
  ]
}

Documentation

Astro Renderer Documentation

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @astrojs/renderer-react

    Homepage

    astro.build

    Weekly Downloads

    1,057

    Version

    0.5.0

    License

    MIT

    Unpacked Size

    9.84 kB

    Total Files

    8

    Last publish

    Collaborators

    • natemoo-re
    • fredkschott
    • matthewp