@mertsolak/render-by-scroll
v4.0.0
Published
It renders components, when they are in viewport.
Downloads
612
Readme
Render By Scroll
It renders components, when they are in viewport.
Installation
Use node package manager to install @mertsolak/render-by-scroll.
npm i @mertsolak/render-by-scroll
Usage
import { RenderByScroll } from '@mertsolak/render-by-scroll';
const App = () => (
<RenderByScroll>
<p>This p tag will be rendered when it is in viewport</p>
</RenderByScroll>
);
export default App;