JavaScript Hook

Open-source JavaScript projects categorized as Hook | Edit details

Top 16 JavaScript Hook Projects

  • react-use-form-state

    📄 React hook for managing forms and inputs state

    Project mention: useState in forms | | 2021-10-22

    I know a lot of people are against people bringing up libraries here but I’ve found that if you have a large form or other render heavy stuff on the page it is worth using a library and I really like

  • simple-git-hooks

    A simple git hooks manager for small projects

    Project mention: Cypress installation with Mochaversome reporter with fail test screenshots. Fix viewport screen size in headless mode. | | 2022-04-03

    Install simple-git-hooks package if not used on the project. If this package or an analogue, for example, husky, skip this point. We will move on to the configuration in the next section.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • pinst

    🍺 dev only postinstall hooks (package.json)

  • react-transition-state

    Zero dependency, 0.7KB react-transition-group alternative.

    Project mention: Zero dependency, 0.7KB react-transition-group alternative. | | 2021-11-21
  • react-universal-hooks

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

    Project mention: Why hooks are the best thing to happen to React | | 2021-10-23

    I don’t really understand the authors reasoning either. Classes in JavaScript are just sugar around functional closures.

    In fact, you can use hooks inside of React component subclasses with a little fiddling [1].

    The fact that the official react doesn’t support it is basically a design decision. It’s not impossible, but they just want to draw a clear line in the sand about how they think React code should be written.


  • use-react-router-breadcrumbs

    tiny, flexible, hook for rendering route breadcrumbs with react-router v6

    Project mention: Any tips for making a breadcrumb with react router v6? | | 2022-03-01

    I've used this one, was a little bit trickier for my advanced use case, but still manageable.

  • react-hook-thunk-reducer

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

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • react-use-promise

    React hook for handling promises.

    Project mention: Electron Adventures: Episode 22: File Manager in React | | 2021-08-14

    I'll follow steps from episode 14, and create a new React electron app. We'll need one extra library react-use-promise as we'll be making extensive use of promises in this project, and using bare useEffect for them gets rather awkward.

  • use-epic

    Use RxJS Epics as state management for your React Components

    Project mention: Using RxJs on top of another state management solution(React-Query). | | 2021-06-19
  • storken

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

  • fine

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

    Project mention: Gracefully shutdown Node.js application: handle process exit signals and close pending connections/jobs | | 2022-01-19
  • react-hook-layout

    Layouts in React.

  • githook-lint-staged-example

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

  • useReduxForm

    React hook for form fields that using Redux store

  • useSync

    A subscription based state management solution for React!

    Project mention: useSync feature update! | | 2022-05-09

    Now, I just released useSync v2.0.0, and I'm looking for more feedback. Here is the link:

  • eslint-plugin-react-hooks-addons

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

    Project mention: ESLint rule to check unused dependencies in React Hooks | | 2021-12-13

    Here is the GitHub repo:

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 2022-05-09.

JavaScript Hook related posts


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

Project Stars
1 react-use-form-state 938
2 simple-git-hooks 665
3 pinst 210
4 react-transition-state 169
5 react-universal-hooks 168
6 use-react-router-breadcrumbs 153
7 react-hook-thunk-reducer 98
8 react-use-promise 77
9 use-epic 42
10 storken 21
11 fine 21
12 react-hook-layout 16
13 githook-lint-staged-example 11
14 useReduxForm 4
15 useSync 3
16 eslint-plugin-react-hooks-addons 2
Find remote jobs at our new job board There are 13 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.