mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 04:33:10 +00:00
635 B
635 B
title
| title |
|---|
| React Markup APIs |
The react-markup package provides the ability to render standalone HTML from Server Components for use in embedded contexts such as e-mails and RSS/Atom feeds.
It cannot use Client Components and does not hydrate. It is intended to be paired with the generic React package, which is shipped as react to npm.
APIs {/apis/}
These APIs can be imported from the React Server environment (e.g. in Server Actions):
renderToMarkuprenders a non-interactive React tree with support for Server Components but not Client Components.