react-rxjs
use-http
react-rxjs | use-http | |
---|---|---|
2 | 4 | |
529 | 2,313 | |
0.8% | 0.1% | |
4.2 | 1.5 | |
3 months 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.
react-rxjs
-
Tinkering with observability for shared React states (without context), would love any thoughts
I use this pattern quite a bit at work! Have you seen https://observable-hooks.js.org/ or https://react-rxjs.org/ ? They both have similar methods that you do for observable state. You can even write your own custom hooks and just use an rxjs Behavior Subject to achieve the same kind of behavior.
-
Rxjs library
I'm the 2nd author of https://github.com/re-rxjs/react-rxjs and I use it on almost every project to manage the state of the app. I think it's extremely powerful, minimal boilerplate, and you can make pretty complex things without spaghetti code, that keeps scaling well even on an ongoing 2+ years project with 4 FE devs working fulltime. Another big advantage is that it's fairly simple to set up codesplitting
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?
akita - 🚀 State Management Tailored-Made for JS Applications
axios-cache-interceptor - 📬 Small and efficient cache interceptor for axios. Etag, Cache-Control, TTL, HTTP headers and more!
glacier - Keep your data fresh
use-debounce - A debounce hook for react
react-fetching-library - Simple and powerful API client for react 👍 Use hooks or FACCs to fetch data in easy way. No dependencies! Just react under the hood.
filepond - 🌊 A flexible and fun JavaScript file upload library
diffx - A state management library for React, Vue.js, Svelte, Angular and vanilla javascript
react-useportal - 🌀 React hook for Portals
gotql - GraphQL query utility for serverside apps
react-hook-form - 📋 React Hooks for form state management and validation (Web + React Native)
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.
constate - React Context + State