react-responsive
react-responsive copied to clipboard
🔍 <Only /> displays some contents for particular screen sizes
`Match` is using 2 anti patterns: - reading the props of children - injecting props to children Those make it harder to type things properly: - for regular HTML components,...
At the moment, we can do `useBreakpoint('md lg')`. Instead we should support `useBreakpoint(['md', 'lg'])` It would be a bit more performant as we wouldn't have to do the split every...
The word breakpoint has been used from the creation of the library to be closer to what other libs are doing. But in react-responsive, those aren't breakpoints: when you mention...
instead of using `@media (min-width: …)` and `@media (max-width: …)`, we should use `@media (…
instead of just using the width (which is bad because it's easy to confuse a landscape phone and a portrait tablet, do something like: ```js const breakpoints = { //...
Bumps [rollup](https://github.com/rollup/rollup) from 2.75.5 to 2.79.2. Changelog Sourced from rollup's changelog. rollup changelog 4.22.5 2024-09-27 Bug Fixes Allow parsing of certain unicode characters again (#5674) Pull Requests #5674: Fix panic...
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8. Release notes Sourced from micromatch's releases. 4.0.8 Ultimate release that fixes both CVE-2024-4067 and CVE-2024-4068. We consider the issues low-priority, so even if you...