const [matches, setProps] = useMedia({ query: '(max-width: 600px)', onChange: console.log });
What is the imhele/use-media-easy GitHub project? Description: "const [matches, setProps] = useMedia({ query: '(max-width: 600px)', onChange: console.log });". Written in TypeScript. Explain what it does, its main use cases, key features, and who would benefit from using it.
Question is copied to clipboard — paste it after the AI opens.
Clone via HTTPS
Clone via SSH
Download ZIP
Download master.zipReport bugs or request features on the use-media-easy issue tracker:
Open GitHub Issues