use-media
use-http
Our great sponsors
use-media | use-http | |
---|---|---|
4 | 4 | |
517 | 2,313 | |
- | 0.1% | |
8.6 | 1.5 | |
12 days ago | 3 months ago | |
TypeScript | TypeScript | |
The Unlicense | 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-media
-
Proper way to do not render an element in React on different tailwind's breakpoints
not react, but i did something similar in svelte: https://github.com/afreidz/t9r/blob/bca2a25c031204b107e5b7013b4306ac961b2420/frontend/src/lib/theme.ts#L3 the key being resolveConfig ... i used this lib on a react project to add those TW values into a hook for conditional rendering: https://github.com/streamich/use-media
-
Top 10 Awesome React Hooks Libraries
Github
-
Awesome Things Related To React Hooks 😍
use-media - useMedia React hook to track CSS media query state
-
Top 10 React Hooks Library
Have you ever faced the issue of managing CSS media query? useMedia hook simplified this problem in a line of code. It's a sensory hook which tracks the state of CSS media query and helps you to design & develop responsiveness apps.
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?
local-storage - React hook which syncs localStorage[key] with the comp.
axios-cache-interceptor - 📬 Small and efficient cache interceptor for axios. Etag, Cache-Control, TTL, HTTP headers and more!
react-chartjs-2 - React components for Chart.js, the most popular charting library
use-debounce - A debounce hook for react
antd - An enterprise-class UI design language and React UI library
filepond - 🌊 A flexible and fun JavaScript file upload library
constate - React Context + State
react-useportal - 🌀 React hook for Portals
chakra-ui - ⚡️ Simple, Modular & Accessible UI Components for your React Applications
gotql - GraphQL query utility for serverside apps
react-hot-toast.com - Smoking Hot React Notifications 🔥
react-hook-form - 📋 React Hooks for form state management and validation (Web + React Native)