constate
use-http
Our great sponsors
constate | use-http | |
---|---|---|
4 | 4 | |
3,911 | 2,313 | |
- | 0.1% | |
3.6 | 1.5 | |
about 2 years ago | 3 months ago | |
TypeScript | TypeScript | |
MIT 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.
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.
use-http
-
5 Great Custom Hooks For Your React Project
As I was searching through the codebase and writing the components for my current work ticket, I came across some useful custom hooks from a number of third-party libraries like react-use, usehooks-ts, Mantine. But there are for sure other similar libraries out there such as use-http, react-hanger and many more.
-
Top 10 Awesome React Hooks Libraries
Github Docs
-
Awesome Things Related To React Hooks 😍
use-http - 🐶 React hook for making isomorphic http requests
-
Top 10 React Hooks Library
use-http is a popular package that is used as a replacement for Fetch API. It's a well maintained library and easy to integrate in a few lines of code. Hooks written in TypeScript and support Server Side Rendering (SSR) and GraphQL. It returns a response, loading, error data and work with different request methods, Get, Post, Put, Patch and Delete.
What are some alternatives?
react-useportal - 🌀 React hook for Portals
axios-cache-interceptor - 📬 Small and efficient cache interceptor for axios. Etag, Cache-Control, TTL, HTTP headers and more!
react-recipes - 👩🍳 A list of React Hooks utility library containing popular customized hooks
use-debounce - A debounce hook for react
react-notion-x - Fast and accurate React renderer for Notion. TS batteries included. ⚡️
filepond - 🌊 A flexible and fun JavaScript file upload library
use-query-params - React Hook for managing state in URL query parameters with easy serialization.
state - 🚀 Tiny and powerful React hook-based state management library.
gotql - GraphQL query utility for serverside apps
react-webcam - Webcam component
react-hook-form - 📋 React Hooks for form state management and validation (Web + React Native)