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: React & Next.js in 2025 - Modern Best Practices | dev.to | 2025-07-07

    Zustand

  2. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.

    SurveyJS 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: Effective Patterns for Shared State Management in React | dev.to | 2025-05-08

    For server-state (data fetched from an API), tools like React Query or SWR shine. They handle caching, refetching, and error states without needing to push API responses into Redux.

  4. SWR

    React Hooks for Data Fetching

    Project mention: Best Practices for React Applications | dev.to | 2025-07-10

    For advanced use cases, libraries like React Query or SWR provide caching, refetching, and optimistic updates, simplifying data management in complex applications.

  5. mantine

    A fully featured React components library

    Project mention: Top 7 Open-Source Projects to Contribute to in 2025 | dev.to | 2025-07-04

    🔗 https://github.com/mantinedev/mantine

  6. react-table

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

    Project mention: PlasticList – Plastic Levels in Foods | news.ycombinator.com | 2025-06-24
  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.

    Project mention: 🚀 Supercharge Your React Development with usehooks-ts | dev.to | 2025-02-08

    🔗 Check it out here: usehooks-ts.com

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  10. wagmi

    Reactive primitives for Ethereum apps

  11. form

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

    Project mention: JavaScript schema library from the Future 🧬 | dev.to | 2025-02-21

    Also, ReScript Schema supports Standard Schema, a common interface for TypeScript validation libraries. It was recently designed by the creators of Zod, Valibot, and ArkType and has already been integrated into many popular libraries. This means that you can use ReScript Schema with tRPC, TanStack Form, TanStack Router, Hono, and 19+ more at the time of writing the article.

  12. react-intersection-observer

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

  13. kbar

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

  14. constate

    React Context + State

  15. fre

    :ghost: Tiny Concurrent UI library with Fiber.

  16. alova

    The Request Toolkit For Ultimate Efficiency

    Project mention: Is React-query out of date? This new favorite makes cross-component requests a breeze! | dev.to | 2024-10-30
  17. react-colorful

    🎨 A tiny (2,8 KB) color picker component for React and Preact apps

  18. rooks

    Essential React custom hooks ⚓ to super charge your components!

  19. react-hotkeys-hook

    React hook for using keyboard shortcuts in components.

  20. haunted

    React's Hooks API implemented for web components 👻

  21. useStateMachine

    The <1 kb state machine hook for React

  22. use-query-params

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

    Project mention: use-query-params VS state-in-url - a user suggested alternative | libhunt.com/r/use-query-params | 2024-11-05
  23. web

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

  24. 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: React’s Four Horsemen of the Frontendpocalypse | dev.to | 2025-05-24

    Support Yup, Zod, AJV, Superstruct, Joi and others

  25. data-client

    Async State Management without the Management. REST, GraphQL, SSE, Websockets

  26. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
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

  • Claude Keeps Forgetting Stuff. So I Built This…

    2 projects | dev.to | 12 Jul 2025
  • React & Next.js in 2025 - Modern Best Practices

    2 projects | dev.to | 7 Jul 2025
  • Effective Patterns for Shared State Management in React

    4 projects | dev.to | 8 May 2025
  • # 🗃️ Dolab — A Lightweight Data-Fetching Hook with Zustand Superpowers ⚡

    1 project | dev.to | 8 Apr 2025
  • In React {Transitions} = F(state)

    1 project | news.ycombinator.com | 7 Apr 2025
  • 10 Must-Try React Libraries for 2025 🚀

    5 projects | dev.to | 19 Feb 2025
  • 🚀 Supercharge Your React Development with usehooks-ts

    1 project | dev.to | 8 Feb 2025
  • A note from our sponsor - SurveyJS
    surveyjs.io | 13 Jul 2025
    Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more. Learn more →

Index

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

# Project Stars
1 zustand 53,397
2 TanStack Query 45,823
3 SWR 31,666
4 mantine 29,113
5 react-table 26,684
6 use-gesture 9,399
7 usehooks-ts 7,242
8 wagmi 6,362
9 form 5,598
10 react-intersection-observer 5,363
11 kbar 5,073
12 constate 3,984
13 fre 3,744
14 alova 3,685
15 react-colorful 3,372
16 rooks 3,288
17 react-hotkeys-hook 3,146
18 haunted 2,662
19 useStateMachine 2,396
20 use-query-params 2,204
21 web 2,098
22 resolvers 2,039
23 data-client 1,997

Sponsored
JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io