usehooks

A collection of modern, server-safe React hooks – from the ui.dev team (by uidotdev)

Usehooks Alternatives

Similar projects and alternatives to usehooks

  1. zod

    362 usehooks VS zod

    TypeScript-first schema validation with static type inference

  2. Civic Auth

    Auth in Less Than 5 Minutes. Civic Auth comes with multiple SSO options, optional embedded wallets, and user management β€” all implemented with just a few lines of code. Start building today.

    Civic Auth logo
  3. shadcn/ui

    304 usehooks VS shadcn/ui

    A set of beautifully-designed, accessible components and a code distribution platform. Works with your favorite frameworks. Open Source. Open Code.

  4. zustand

    282 usehooks VS zustand

    🐻 Bear necessities for state management in React

  5. SWR

    255 usehooks VS SWR

    React Hooks for Data Fetching

  6. react-hook-form

    245 usehooks VS react-hook-form

    πŸ“‹ React Hooks for form state management and validation (Web + React Native)

  7. vueuse

    92 usehooks VS vueuse

    Collection of essential Vue Composition Utilities for Vue 3

  8. lucia

    76 usehooks VS lucia

    Authentication, simple and clean

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. react-table

    73 usehooks VS react-table

    πŸ€– Headless UI for building powerful tables & datagrids for TS/JS - React-Table, Vue-Table, Solid-Table, Svelte-Table

  11. TanStack Query

    67 usehooks VS 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.

  12. react-use

    59 usehooks VS react-use

    React Hooks β€” πŸ‘

  13. dnd-kit

    49 usehooks VS dnd-kit

    The modern, lightweight, performant, accessible and extensible drag & drop toolkit for React.

  14. usehooks

    38 usehooks VS usehooks

    Easy to understand React Hook code recipes (by gragland)

  15. web

    10 usehooks VS web

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

  16. use-what-changed

    A React hook and an easy to use babel-pugin to debug various React official hooks

  17. azure-cloud-exams

    Azure Cloud Exams is a web application that offers a comprehensive set of quizzes for various Azure exams.

  18. usehooks-ts

    21 usehooks VS usehooks-ts

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

  19. awesome-react-hooks

    A curated list about React Hooks (by glauberfc)

  20. react-typescript-cheatsheet

    Discontinued Cheatsheets for experienced React developers getting started with TypeScript [Moved to: https://github.com/typescript-cheatsheets/react]

  21. 30-Days-Of-React

    14 usehooks VS 30-Days-Of-React

    30 Days of React challenge is a step by step guide to learn React in 30 days. These videos may help too: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw

  22. taverne

    2 usehooks VS taverne

    β›΅ Yet another Redux alternative

  23. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better usehooks alternative or higher similarity.

usehooks discussion

Log in or Post with

usehooks reviews and mentions

Posts with mentions or reviews of usehooks. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-10.
  • Simplify Your React Development with useHooks
    1 project | dev.to | 25 Jan 2025
    Github: https://github.com/uidotdev/usehooks
  • React Hooks Essentials
    1 project | dev.to | 24 Sep 2024
    If you're interested in diving deeper into hooks or exploring useful custom hooks for your projects, I highly recommend checking out UseHooks.com. It’s a fantastic resource with tons of practical custom hooks that you can use and learn from.
  • React Custom Hooks: Crafting Reusable and Clean Code Like a Pro
    1 project | dev.to | 2 Aug 2024
    // https://usehooks.com/useLocalStorage import { useState } from 'react'; // Hook function useLocalStorage(key, initialValue) { // State to store our value // Pass initial state function to useState so logic is only executed once const [storedValue, setStoredValue] = useState(() => { if (typeof window === 'undefined') { return initialValue; } try { // Get from local storage by key const item = window.localStorage.getItem(key); // Parse stored JSON or if none return initialValue return item ? JSON.parse(item) : initialValue; } catch (error) { // If error also return initialValue console.log(error); return initialValue; } }); // Return a wrapped version of useState's setter function that ... // ... persists the new value to localStorage. const setValue = (value) => { try { // Allow value to be a function so we have the same API as useState const valueToStore = value instanceof Function ? value(storedValue) : value; // Save state setStoredValue(valueToStore); // Save to local storage if (typeof window !== 'undefined') { window.localStorage.setItem(key, JSON.stringify(valueToStore)); } } catch (error) { // A more advanced implementation would handle the error case console.log(error); } }; return [storedValue, setValue]; }
  • Best Next.js Libraries and Tools in 2024
    10 projects | dev.to | 10 Apr 2024
    Link: https://usehooks.com/
  • How to Track Previous State in React
    1 project | dev.to | 7 Nov 2023
    In this approach (adapted from the usehooks package), we'll define a state variable currentCounter to track counter's value:
  • Adding a real feature to a project πŸ§›
    2 projects | dev.to | 25 Oct 2023
    The very first one I came across was a package called useHooks. It looked like a really cool package with tonnes of hooks to use, and useQueue was one of them.
  • Thoughts on useEffect ?
    2 projects | /r/reactjs | 8 Jul 2023
    there are a bunch of library custom hooks, sometimes they encapsulate logic better, you should prefer them or build your own instead.
  • useHooks – A collection of Server Component safe React Hooks
    1 project | /r/u_Automatic_Fee_2323 | 31 May 2023
    1 project | /r/u_Ok-Cauliflower4514 | 31 May 2023
  • UseHooks – A Collection of Server Component Safe React Hooks
    1 project | /r/patient_hackernews | 30 May 2023
  • A note from our sponsor - InfluxDB
    influxdata.com | 28 Apr 2025
    Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more β†’

Stats

Basic usehooks repo stats
15
10,476
7.0
9 months ago

Sponsored
Auth in Less Than 5 Minutes
Civic Auth comes with multiple SSO options, optional embedded wallets, and user management β€” all implemented with just a few lines of code. Start building today.
www.civic.com

Did you know that MDX is
the 28th most popular programming language
based on number of references?