Skip to content

Latest commit

Β 

History

History
33 lines (23 loc) Β· 824 Bytes

File metadata and controls

33 lines (23 loc) Β· 824 Bytes

tiny-react-hooks

A React hook library, written in Typescript.

Created by Tuan Anh.

πŸ’« Introduction

This is a React hooks library, written in Typescript and easy to use. It provides a set of hooks that enables you to build your React applications faster. There are hooks for most common use cases you might need.

Usage example

import { useDisclosure } from 'tiny-react-hooks'; // might be deploy in the future

function Component() {
  const { isOpen, onOpen, onClose, onToggle } = useDisclosure();

  // ...
}

πŸͺ Available Hooks

  • [useDisclosure] β€” handles boolean state with useful utility functions.