A place of powerful hooks for your react applications.
ALL BETA
npm install @open-react-hooks/core
or
yarn add @open-react-hooks/core
import { useCurrentSizePage } from '@open-react-hooks/core';
function App() {
const [pageHeight] = useCurrentSizePage(); // initialize the hook
return (
<div>
<span>Current size page: {pageHeight} </span>
</div>
);
}