use-query-params
constate
use-query-params | constate | |
---|---|---|
4 | 4 | |
2,098 | 3,911 | |
- | - | |
1.4 | 3.6 | |
4 months ago | about 2 years ago | |
TypeScript | TypeScript | |
ISC License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
use-query-params
- How to get query parameters in NextJS 13
-
React router v6 useSearchParams
With react router v5 I was using a library called use-query-params. It had this great hook called useQueryParam which let you manage 1 query parameter in the same way as useState worked.
-
10 useful react packages for Frontend
I like https://github.com/pbeshai/use-query-params
-
Whatever happened to old fashioned URL query parameters? (Not a rant)
Nothing is stopping you from storing state in the URL query string params. I do so frequently for pages containing tables where it's important to keep filtering and pagination state in sync with the URL, for example. Use this library https://github.com/pbeshai/use-query-params
constate
-
What are your favorite small utility packages?
Another one I like is https://github.com/diegohaz/constate, also <100 lines, but it makes contexts much easier to use. FB also uses mostly contexts for state management.
-
Top 10 Awesome React Hooks Libraries
Github
-
Awesome Things Related To React Hooks 😍
constate - React Context + State
-
Top 10 React Hooks Library
Constate hook provides lifting local state to React Context Level. So you can access/update state variables anywhere in the application with few lines of code. This is useful when you use the same state in multiple components. For example, you have Themes, Colors, Fonts used in multiple components, Users are allowed to change at one place and it should be reflected in the whole application. Package written in TypeScript and very compact.
What are some alternatives?
formik - Build forms in React, without the tears 😭 [Moved to: https://github.com/jaredpalmer/formik]
react-useportal - 🌀 React hook for Portals
router - 🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering.
react-recipes - 👩🍳 A list of React Hooks utility library containing popular customized hooks
mui-modal-provider - 🌞 Context API and Hooks based Modal Provider for react material-ui framework
react-notion-x - Fast and accurate React renderer for Notion. TS batteries included. ⚡️
usehooks-ts - React hook library, ready to use, written in Typescript.
use-http - 🐶 React hook for making isomorphic http requests
usehooks.ts - React hook library, ready to use, written in Typescript. [Moved to: https://github.com/juliencrn/usehooks-ts]
state - 🚀 Tiny and powerful React hook-based state management library.
react-use-wizard - 🧙 A React wizard (stepper) builder without the hassle, powered by hooks.
react-webcam - Webcam component