Giter Site home page Giter Site logo

lakecenter / rooks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from imbhargav5/rooks

0.0 0.0 0.0 4.71 MB

Collection of React hooks ⚓ for everyone.

Home Page: https://react-hooks.org

License: MIT License

JavaScript 72.39% HTML 0.05% TypeScript 27.27% Dockerfile 0.07% CSS 0.22%

rooks's Introduction




Build Status All Contributors


Collection of regularly used custom hooks as utils for React.

Image from Gyazo

https://react-hooks.org

Features

✅ Collection of 22+ hooks as separate 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>
  );
}

Documentation

View the docs here

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

💻

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

rooks's People

Contributors

imbhargav5 avatar dependabot-preview[bot] avatar simbathesailor avatar harshzalavadiya avatar maciekgrzybek avatar braxtonchristensen avatar elrumordelaluz avatar mxstbr avatar michaelmakesgames avatar allcontributors[bot] avatar deadcoder0904 avatar dianoga avatar chrismilson avatar dancerphil avatar febeck avatar 1337marcel avatar neilor avatar fintara avatar yesmeck avatar fhellwig avatar theskillwithin 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.