@smashing/positioner

Component utility to help with the ReactDOM.createstack API.

Usage no npm install needed!

<script type="module">
  import smashingPositioner from 'https://cdn.skypack.dev/@smashing/positioner';
</script>

README

yarn add @smashing/portal

Usage

import {Portal} from '@smashing/portal'

export default () => (
  <div>
    App content...

    <Portal>
      Content moved outside of react tree
    </Portal>
  </div>
)