SaaSHub helps you find the best software and product alternatives Learn more β
Usehooks Alternatives
Similar projects and alternatives to usehooks
-
-
InfluxDB
Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
-
-
-
-
shadcn/ui
Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
-
-
react-table
π€ Headless UI for building powerful tables & datagrids for TS/JS - React-Table, Vue-Table, Solid-Table, Svelte-Table
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
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.
-
-
-
-
dnd-kit
The modern, lightweight, performant, accessible and extensible drag & drop toolkit for React.
-
-
-
-
-
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
-
azure-cloud-exams
Azure Cloud Exams is a web application that offers a comprehensive set of quizzes for various Azure exams.
-
react-typescript-cheatsheet
Discontinued Cheatsheets for experienced React developers getting started with TypeScript [Moved to: https://github.com/typescript-cheatsheets/react]
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
usehooks discussion
usehooks reviews and mentions
-
React Custom Hooks: Crafting Reusable and Clean Code Like a Pro
// 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
Link: https://usehooks.com/
-
How to Track Previous State in React
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 π§
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 ?
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
-
UseHooks β A Collection of Server Component Safe React Hooks
I saw "useDebounce" and thought "what the hell does debounce have anything to do with react render cycle?". When I check the code, `useDebounce` does... I don't even know what it does, delayed set state?
https://github.com/uidotdev/usehooks/blob/380e83fa267157832e...
-
A note from our sponsor - SaaSHub
www.saashub.com | 16 Sep 2024
Stats
uidotdev/usehooks is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of usehooks is MDX.