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

0.0.1 • Public • Published

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

/@phntms/react-toolkit/

    Package Sidebar

    Install

    npm i @phntms/react-toolkit

    Weekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    41.9 kB

    Total Files

    48

    Last publish

    Collaborators

    • digitaljohn