TypeScript Hooks

Open-source TypeScript projects categorized as Hooks

Top 23 TypeScript Hook Projects

  1. zustand

    🐻 Bear necessities for state management in React

    Project mention: 7 Free Tools and Resources for Building Well-Structured React Applications | dev.to | 2026-05-07

    Zustand is a small, fast state management library for React. Its API is intentionally minimal: you define a store with state and actions, and you consume the store with a hook. There is no boilerplate beyond defining what the store holds and what operations change it.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. TanStack Query

    🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

    Project mention: TanStack Query style caching, the Angular-native way | dev.to | 2026-06-29

    That cache/query layer is exactly what TanStack Query provides - and its Angular adapter is excellent and (yes) already signal-based. query.data(), query.isPending() are signals; no manual subscriptions. So let me get the obvious question out of the way:

  4. SWR

    React Hooks for Data Fetching

    Project mention: GraphQL vs REST: 18 Claims Fact-Checked with Primary Sources (2026) | dev.to | 2026-04-17

    Historically, measurements around 40–45 KB gzipped were reasonable for older Apollo Client bundles , but recent v4.x releases have reduced bundle size and made features more modular. Regardless, that is not a cost of GraphQL itself. The same concern exists for feature‑rich REST clients like SWR or TanStack Query . It is a misleading comparison because both REST and GraphQL can be implemented with nothing more than fetch(). Therefore, the theoretical baseline for both styles is 0 KB.

  5. mantine

    A fully featured React components library

    Project mention: Your MCP Debug Log Should Not Become a Credential Store | dev.to | 2026-10-14

    Web — a Vite + React + Mantine single-page app with a Node backend.

  6. react-table

    🤖 Headless UI for building powerful tables & datagrids for TS/JS - React-Table, Vue-Table, Solid-Table, Svelte-Table

  7. use-gesture

    👇Bread n butter utility for component-tied mouse/touch gestures in React and Vanilla Javascript.

  8. usehooks-ts

    React hook library, ready to use, written in Typescript.

  9. wagmi

    Reactive primitives for Ethereum apps

  10. form

    🤖 Headless, performant, and type-safe form state management for TS/JS, React, Vue, Angular, Solid, and Lit.

    Project mention: Choreography of validation: how to make your auth form seamless and usable | dev.to | 2026-06-27

    Starting with cons: The first one is about implementation. validationLogic doesn't feel fully baked yet - it still has todos about types. It'll surely get polished, which also means the API can still change.

  11. react-intersection-observer

    React implementation of the Intersection Observer API to tell you when an element enters or leaves the viewport.

  12. kbar

    fast, portable, and extensible cmd+k interface for your site

    Project mention: Building Command Palettes with kbar in React | dev.to | 2026-01-19

    Check the official repository: https://github.com/timc1/kbar

  13. alova

    The request strategy layer for JavaScript. 20+ ready-made strategies cut your request code by up to 70%

    Project mention: From Client to Server: Alova 3's Full-Stack Request Strategy Practice | dev.to | 2025-12-04

    Visit the alovajs official website for more detailed information: alovajs Official Website.

  14. constate

    React Context + State

  15. fre

    :ghost: Tiny Concurrent UI library with Fiber.

  16. react-colorful

    🎨 A tiny (3,1 KB) color picker component for React and Preact apps

    Project mention: react-colorful VS chroma-panel - a user suggested alternative | libhunt.com/r/react-colorful | 2026-09-25
  17. react-hotkeys-hook

    React hook for using keyboard shortcuts in components.

  18. rooks

    Over 800 k monthly downloads. Collection of awesome react hooks

  19. haunted

    React's Hooks API implemented for web components 👻

  20. useStateMachine

    The <1 kb state machine hook for React

  21. tdd-guard

    Automated TDD enforcement for Claude Code

    Project mention: EvanFlow – A TDD driven feedback loop for Claude Code | news.ycombinator.com | 2026-04-26

    If you’re just looking for the TDD part - https://github.com/nizos/tdd-guard - is the only project I’ve come across that actually enforces it with hooks and blocks edits rather than relying on a prompt that gets context rotted away.

  22. resolvers

    📋 Validation resolvers: Yup, Zod, Superstruct, Joi, Vest, Class Validator, io-ts, Nope, computed-types, typanion, Ajv, TypeBox, ArkType, Valibot, effect-ts, VineJS and Standard Schema

    Project mention: Performance at Scale: Optimizing Large and High-Volume Forms | dev.to | 2026-10-28

    Sources: React Hook Form — FAQs - Explanation of RHF's uncontrolled-first design and why it reduces re-renders. Optimizing Performance — React (legacy docs) - React guidance on windowing long lists and avoiding unnecessary reconciliation. Profiler API – React - How to use the Profiler to measure commit durations and identify hotspots. React Hook Form — Advanced Usage (Working with virtualized lists) - Concrete example and cautions for using react-window with RHF and how to preserve values. bvaughn/react-window · GitHub - react-window docs and API (overscan, List/Grid patterns). TanStack/virtual · GitHub - Headless virtualizer (TanStack Virtual) and usage patterns for complex virtualization. Zod (colinhacks/zod) · GitHub - Zod schema API (parse, safeParse, parseAsync) and rationale for schema-first validation. react-hook-form/resolvers · GitHub - Resolver integrations including zodResolver and how to wire schemas into RHF. Use tools to measure performance — web.dev - Lighthouse, WebPageTest, and RUM guidance for creating measurable performance baselines. Playwright — Trace Viewer docs - How to record traces, inspect actions, and use tracing in CI to debug performance. why-did-you-render · GitHub - Dev-time tool to detect avoidable re-renders and ownership reasons. Web Storage API — Using the Web Storage API (MDN) - Browser storage fundamentals and constraints for localStorage. Background Synchronization API (MDN) - Using SyncManager and service worker sync registration for offline-first sync. lodash.debounce — npm - debounce implementation and options for throttling autosave and heavy callbacks. useForm — React Hook Form docs - useForm options (mode, shouldUnregister, resolver) and guidance on subscription APIs, getValues, setValue, useWatch and useFormState.

  23. use-query-params

    React Hook for managing state in URL query parameters with easy serialization.

  24. web

    React hooks done right, for browser and SSR. (by react-hookz)

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).

TypeScript Hooks discussion

Log in or Post with

TypeScript Hooks related posts

  • useThisHook 1.3.0: 13 new React hooks for async work, offline queues, and debugging re-renders

    2 projects | dev.to | 27 Oct 2026
  • Lid closed, Claude Code still running: how macOS DarkWakes burn your weekly limit overnight

    2 projects | dev.to | 23 Oct 2026
  • Building Better Overlays in React: Why I Built `useOverlay`

    1 project | dev.to | 30 Sep 2026
  • Webmcp-react v1.0.0 (React hooks for agents to use WebMCP)

    1 project | news.ycombinator.com | 4 Sep 2026
  • TanStack Query style caching, the Angular-native way

    2 projects | dev.to | 29 Jun 2026
  • Choreography of validation: how to make your auth form seamless and usable

    1 project | dev.to | 27 Jun 2026
  • A Clean React Folder Structure

    1 project | dev.to | 9 May 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 7 Nov 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 zustand 58,888
2 TanStack Query 50,525
3 SWR 32,492
4 mantine 31,914
5 react-table 28,537
6 use-gesture 9,622
7 usehooks-ts 7,862
8 wagmi 6,774
9 form 6,764
10 react-intersection-observer 5,543
11 kbar 5,261
12 alova 4,025
13 constate 4,006
14 fre 3,765
15 react-colorful 3,563
16 react-hotkeys-hook 3,506
17 rooks 3,452
18 haunted 2,724
19 useStateMachine 2,403
20 tdd-guard 2,373
21 resolvers 2,265
22 use-query-params 2,236
23 web 2,216

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that TypeScript is
the 2nd most popular programming language
based on number of references?