JSPM

rooks

0.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 99620
  • Score
    100M100P100Q152546F
  • License MIT

Useful React hooks for everyone.

Package Exports

  • rooks

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rooks) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

rooks

Standalone build for all rooks.

Installation

npm i -s rooks

Usage

Import any hook from "rooks" and start using them!

import { useDidMount } from "rooks";

function App() {
  useDidMount(() => {
    alert("mounted");
  });
  return (
    <div className="App">
      <h1>Hello CodeSandbox</h1>
      <h2>Start editing to see some magic happen!</h2>
    </div>
  );
}