@stefanoruth/react-portal-ssr
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

React Portal SSR

Simple implementation of server side rendering of portals.

version license size

Features

  • Server Side Rendered Portals
  • Simple API
  • Support Multiple Portals

Installation

yarn add @stefanoruth/react-portal-ssr

or

npm install @stefanoruth/react-portal-ssr --save

API

@stefanoruth/react-portal-ssr

  • Portal
  • prepareClientPortals
  • PortalContext

@stefanoruth/react-portal-ssr/server

  • PortalServer(PortalContext)
    • collectPortals
    • appendPortals

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @stefanoruth/react-portal-ssr

Weekly Downloads

7

Version

2.1.0

License

MIT

Unpacked Size

8.15 kB

Total Files

10

Last publish

Collaborators

  • stefanoruth