0.0.2 • Published 7 years ago

react-port v0.0.2

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

WIP

react-port

A component that renders a component subtree somewhere else.

(right now that's just the bottom of the body)

Usage

import Portal from "react-port"

const MyApp = () =>
  <div>
    This renders where expected.

    <Portal>
      This gets appended to the bottom of the body.
    </Portal>
  </div>