@fedlinker/hooks
Edit page
Getting StartedInstallUsageLicense
Lifycycles
Effects
State
Callbacks
Event Loop
DOM and BOM

Getting Started

@fedlinker/hooks is a 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.