1.0.6 • Published 3 years ago

render-anywhere v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Render react component anywhere with react protal.

Usage:

install:

npm install -S render-anywhere

demo

import renderAnywhere from 'render-anywhere';
// This 'div' will render in 'html > body > #anywhere-root > div'
const { update, unmount } = renderAnywhere(<div>I have render here</div>);

update(<div>I am update!</div>);

unmount();
1.0.2

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago