1.0.6 • Published 2 years ago

render-anywhere v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 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

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago