@dolthub/react-hooks
TypeScript icon, indicating that this package has built-in type declarations

0.1.7 • Public • Published

@dolthub/react-hooks

A library of useful React hooks.

Installation

% yarn add @dolthub/react-hooks

or

% npm install @dolthub/react-hooks

Usage

import { useEffectOnMount } from "@dolthub/react-hooks";

function MyComponent() {
  useEffectOnMount(() => {
    console.log("do something on component mount");
  });

  return <div>Home</div>;
}

Package Sidebar

Install

npm i @dolthub/react-hooks

Weekly Downloads

165

Version

0.1.7

License

none

Unpacked Size

15.3 MB

Total Files

7

Last publish

Collaborators

  • liuliu_dev
  • tbantle22