Skip to content

fedlinker/hooks

Repository files navigation

@fedlinker/hooks

React hooks library.

Install

npm install --save @fedlinker/hooks
# Or
yarn add @fedlinker/hooks

Usage

import React from "react";
import { useMount } from "@fedlinker/hooks";

function Example() {
  useMount(() => {
    console.log("Component is mounted");
  });
  ...
}

License

Code licensed MIT, docs CC BY 3.0.

About

React hooks library.

Resources

Stars

Watchers

Forks