JavaScript Hook

Open-source JavaScript projects categorized as Hook

Top 19 JavaScript Hook Projects

  • useWorker

    ⚛️ useWorker() - A React Hook for Blocking-Free Background Tasks

    Project mention: Suggestions for how to create a file uploader similar to Google Drive that won't cancel the upload when you navigate to a different page? | /r/react | 2023-03-22

    It seems like shared web workers is an option. Here's a React library with hooks that can help with the implementation

  • simple-git-hooks

    A simple git hooks manager for small projects

  • Appwrite

    Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!

  • react-use-form-state

    📄 React hook for managing forms and inputs state

  • react-transition-state

    Zero dependency React transition state machine

  • pinst

    🍺 dev only postinstall hooks (package.json)

  • component-size

    React hook for determining the size of a component

  • react-universal-hooks

    :tada: React Universal Hooks : just use****** everywhere (Functional or Class Component). Support React DevTools!

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • use-force-update

    React Hook to force your function component to update

    Project mention: Things change with time | /r/ProgrammerHumor | 2022-10-12

    I get 40k downloads/week on a package that just re-renders a React function component. The entire package is five lines.

  • react-hook-thunk-reducer

    📡 A React useReducer() hook whose dispatcher supports thunks à la redux-thunk.

  • react-use-promise

    React hook for handling promises.

  • use-modal-hook

    🚀 React hook for controlling modal components

    Project mention: React hook for controlling modal components | /r/npm | 2022-11-29

    React hook for controlling modal components

  • use-epic

    Use RxJS Epics as state management for your React Components

  • fine

    🧹 Gracefully shutdown Node.js application: help you handle exit signals and cleanup (by simonecorsi)

  • storken

    🦩 Storken is a React State Manager. Simple as `useState`.

  • react-hook-layout

    Layouts in React.

  • githook-lint-staged-example

    Git 2.9+(`core.hooksPath`) + Lint Staged without extra dependencies.

  • eslint-plugin-react-hooks-addons

    ESLint rule to check unused and potentially unnecessary dependencies in useEffect hook.

  • use-redux-form

    React hook for form fields that using Redux store

  • useSync

    A subscription based state management solution for React!

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-03-22.

JavaScript Hook related posts


What are some of the best open-source Hook projects in JavaScript? This list will help you:

Project Stars
1 useWorker 2,805
2 simple-git-hooks 999
3 react-use-form-state 937
4 react-transition-state 288
5 pinst 250
6 component-size 238
7 react-universal-hooks 186
8 use-force-update 180
9 react-hook-thunk-reducer 107
10 react-use-promise 86
11 use-modal-hook 65
12 use-epic 46
13 fine 30
14 storken 23
15 react-hook-layout 18
16 githook-lint-staged-example 12
17 eslint-plugin-react-hooks-addons 7
18 use-redux-form 4
19 useSync 3
Write Clean JavaScript Code. Always.
Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.