react-media
react-media copied to clipboard
CSS media queries for React
npm, code, copy
I’m getting the following warning from a Media-Component which implements a min-width media query: „Can't perform a React state update on an unmounted component“. The warning is thrown when the...
Is it possible to remove the `@babel/runtime` dependency from the package?
@tstirrat15 implemented the `useMedia()` hook in #149 :tada: Two minor improvements that are left open: - [ ] Add tests for the hook - [x] Add documentation on how to...
See comment here: https://github.com/ReactTraining/react-media/issues/110#issuecomment-647536404 In my head this points to a need for a test of two-pass rendering behavior, comparing the states of: 1. server-side render 1. first client-side pass...
trying to repeat https://gitlab.com/blewpri/react-master-detail in kotlin react media been used in it https://gitlab.com/blewpri/react-master-detail/-/blob/master/src/components/MasterDetail/MasterDetail.tsx#L24 seems like currently no kotlin wrapper about `react-media`, just want to ask before writing my own, may...
Attribute queries for is not working in 1.8.0 version. I can use query only. If i pass query object e.g. { small: "...media query...", medium: "...media query..."} (as given in...
# Update (March 17th, 2019) As described in detail in #123, I'm seriously considering publishing the current changes under a minor version bump: `1.10`. The bulk of the preparations for...