Giter VIP home page Giter VIP logo

rooks's Introduction




Build Status Release script All Contributors


A super awesome collection of regularly used custom hooks as utils for React.

Image from Gyazo

List of all hooks

Features

✅ Collection of 61 hooks as standalone modules.

✅ Standalone package with all the hooks at one place

✅ CommonJS, UMD and ESM Support

Installation

For a specific hook like useDidMount

npm i -s @rooks/use-did-mount
npm i -s @rooks/use-interval
import useDidMount from "@rooks/use-did-mount";

For standalone build with all the hooks

npm i -s rooks

Import any hook from "rooks" and start using them!

import { useDidMount } from "rooks";

Usage

function App() {
  useDidMount(() => {
    alert("mounted");
  });
  return (
    <div className="App">
      <h1>Hello CodeSandbox</h1>
      <h2>Start editing to see some magic happen!</h2>
    </div>
  );
}

Standalone Package

Package containing all the hooks is over here. - Docs and Npm Install


License

MIT

Contributors

Thanks goes to these wonderful people (emoji key):


Bhargav Ponnapalli

💻 🤔 🎨 📖 🐛

Tsvetan

💻

Wei Zhu

💻

Akshay Kadam (A2K)

💻

Austin Peterson

💻

Frank Hellwig

💻

Neilor Caldeira

💻

Cong Zhang

💻

Brian Steere

💻

anil kumar chaudhary

💻

Harsh Zalavadiya

💻

maciek_grzybek

💻

CT Wu

💻 🤔

Braxton Christensen

💻

Lionel

💻

Max Stoiber

💻

Stupid

💻

Michael Moore

💻

Arman

💻

zeritte

💻

Cal Courtney

💻

wes christiansen

💻

Daniel Holmes

💻

Adrien Lemaire

💻

Harshil Parmar

💻

Yakko Majuri

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

rooks's People

Contributors

imbhargav5 avatar dependabot-preview[bot] avatar github-actions[bot] avatar allcontributors[bot] avatar simbathesailor avatar maciekgrzybek avatar harshzalavadiya avatar michaelmakesgames avatar mxstbr avatar elrumordelaluz avatar braxtonchristensen avatar weschristiansen avatar theskillwithin avatar fhellwig avatar yakkomajuri avatar yesmeck avatar fintara avatar tobiaslins avatar neilor avatar 1337marcel avatar harshilparmar avatar febeck avatar danielholmes avatar dancerphil avatar chrismilson avatar calthejuggler avatar dianoga avatar armanio avatar alex-golubtsov avatar deadcoder0904 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.