SaaSHub helps you find the best software and product alternatives Learn more β
Usehooks-ts Alternatives
Similar projects and alternatives to usehooks-ts
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
reactjs.org
Discontinued The React documentation website [Moved to: https://github.com/reactjs/react.dev]
-
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.
-
usehooks.ts
Discontinued React hook library, ready to use, written in Typescript. [Moved to: https://github.com/juliencrn/usehooks-ts]
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
usehooks-ts reviews and mentions
- React hook library, ready to use, written in TypeScript
- Explorando a lib usehooks-ts para Desenvolvimento no React
-
rooks VS usehooks-ts - a user suggested alternative
2 projects | 1 Sep 2023
-
A simple theme switcher in React for Tailwind CSS
These depedencies provide unstyled accessible components from headless ui, icons from heroicons and common hooks with typescript support.
-
News IQ - a daily news quiz - built with React, Local Storage, Anonymous Auth, and Framer Motion
π‘ Local Storage - All score history, streaks, and user info is saved in Local Storage! Check out `useLocalStorage` by https://usehooks-ts.com/. A great resource and helpful when you want to quickly manage it like any other state.
-
How to TRULY persist component state using a custom hook - useQueryParam
We will store last search query string in local storage, thus I will summon useLocalStorage from usehooks-ts:
-
Is it correct to use useRef in my useCurrentSection hook?
There are tons of examples of people building hooks for IntersectionObserver, they are probably a good deal more complex than what you want but you can learn a lot from how they do it and then simplify it to your needs, here is one: https://github.com/juliencrn/usehooks-ts/blob/master/src/useIntersectionObserver/useIntersectionObserver.ts
-
React.dev
Take a look at Use hooks libraries for examples of code that you may want to have portability with (this is they typescript one because its the one I've used)
One of the simplest examples is "useToggle" which just sets a state variable to true or false. Not hard to write in a class component but it's still stuff that you may end up writing a lot.
A lot of similar ones are click and event handlers that need to be cleaned up after the component is unmounted.
useIsMounted is one I use a lot too to ensure I'm not trying to write state on an API callback once a component is unmounted.
You could add each of these to a class with an hoc and end up with withToggle(withIsMounted(withUseMediaEvent(MyComponent))) but that tends to be a bit of a mess.
https://usehooks-ts.com/
-
5 Great Custom Hooks For Your React Project
This implementation of the useCopyToClipboard hook comes from the usehooks-ts library. It provides an easy way to copy text to the clipboard. Other React hooks libraries also have this hook which they implement differently: some rely on JavaScript libraries like copy-to-clipboard that run on document.execCommand() while others like this one depend on the clipboard API.
-
7 great libraries for React
1: usehooks-ts
-
A note from our sponsor - SaaSHub
www.saashub.com | 7 May 2024
Stats
juliencrn/usehooks-ts is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of usehooks-ts is TypeScript.
Popular Comparisons
- usehooks-ts VS react-use
- usehooks-ts VS usehooks.ts
- usehooks-ts VS react-hooks-library
- usehooks-ts VS usehooks
- usehooks-ts VS mui-modal-provider
- usehooks-ts VS react-local-storage
- usehooks-ts VS react-use-hotjar
- usehooks-ts VS use-query-params
- usehooks-ts VS react-use-wizard
- usehooks-ts VS react-div-100vh
Sponsored