0.0.1 • Published 2 years ago

@phntms/react-toolkit v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

react-toolkit

NPM version Actions Status PR Welcome

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);