use-media
awesome-react-hooks
use-media | awesome-react-hooks | |
---|---|---|
4 | 8 | |
517 | 9,663 | |
- | 0.4% | |
8.6 | 0.0 | |
13 days ago | 10 months ago | |
TypeScript | ||
The Unlicense | Creative Commons Zero v1.0 Universal |
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.
awesome-react-hooks
- What is your favorite react hook?
-
Does react have something equivalent to vue composables?
Sure here's the docs for custom hooks. And here are many examples of custom hooks for data fetching/storing/syncing, theme switching, resize, etc. Basically it abstracts away the how and just gives you the data. awesome hooks
-
Top 10 Awesome React Hooks Libraries
awesome-react-hooks A curated resource of react hooks
-
There are a lot of hooks! Do I need to master them all to get a job as a front end? Or just some of them would be enough?
Just the built-in ones are mandatory. The custom hooks are used when u need it. Here is a list of custom hooks if u ever need to use one. Hooks
-
Common React Design patterns: Custom Hooks
react-use * ⭐️ 29.6k / 🔽 958k ahooks * ⭐️ 9.1k / 🔽 74k awesome-react-hooks * ⭐️ 8.1k / 🔽 74k usehooks-ts * ⭐️ 1.6k / 🔽 44k react-recipes * ⭐️ 850 / 🔽 1.2k react-hanger * ⭐️ 1.8k / 🔽 3.3k
-
Awesome React Resources
Awesome React Hooks
-
Awesome Things Related To React Hooks 😍
General
-
What are the current best practices in ReactJS? Haven't updated since 2018
- You can make custom hooks to help abstract stateful logic out of components into re-usable chunks based on your needs several incredible examples out there, but take a look at this collection of links: rehooks/awesome-react-hooks: Awesome React Hooks (github.com)
What are some alternatives?
local-storage - React hook which syncs localStorage[key] with the comp.
SweetAlert - A beautiful replacement for JavaScript's "alert"
use-http - 🐶 React hook for making isomorphic http requests
reactjs-interview-questions - List of top 500 ReactJS Interview Questions & Answers....Coding exercise questions are coming soon!!
react-chartjs-2 - React components for Chart.js, the most popular charting library
jsx-ast-utils - AST utility module for statically analyzing JSX
antd - An enterprise-class UI design language and React UI library
constate - React Context + State
razzle - ✨ Create server-rendered universal JavaScript applications with no configuration
chakra-ui - ⚡️ Simple, Modular & Accessible UI Components for your React Applications
react-use - React Hooks — 👍