Skip to content

wootsbot/open-react-hooks

Repository files navigation

A place of powerful hooks for your react applications.

ALL BETA

Install

npm install @open-react-hooks/core

or

yarn add @open-react-hooks/core

Quickstart

import { useCurrentSizePage } from '@open-react-hooks/core';

function App() {
  const [pageHeight] = useCurrentSizePage(); // initialize the hook

  return (
    <div>
      <span>Current size page: {pageHeight} </span>
    </div>
  );
}

About

↪️ A place of powerful hooks for your react applications.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published