@phntms/react-toolkit
v0.0.1
Published
Collection of React hooks and helpers
Downloads
3
Maintainers
Readme
react-toolkit
A collection of commonly used React hooks and helpers.
Introduction
This package is a tool for us to collect useful React hooks and helpers that we come across during project development. As we build on this, we should have a collection of well-tested production ready tools, that can be used to reduce unnecessary duplicate development.
Contributing
Please see our CONTRIBUTING guide for instructions on how best to add to this repo.
Installation
Install this package with npm
.
npm i @phntms/react-toolkit
Usage
Import your required hooks and use them directly, as seen below:
import React from "react";
import { useIdle } from "@phntms/react-toolkit";
const idle = useIdle(200);