react-breakpoints icon indicating copy to clipboard operation
react-breakpoints copied to clipboard

A React component that sends current breakpoint via context based on viewport width, allowing you to load different components in different breakpoints.

Results 39 react-breakpoints issues
Sort by recently updated
recently updated
newest added

Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4. Changelog Sourced from websocket-extensions's changelog. 0.1.4 / 2020-06-02 Remove a ReDoS vulnerability in the header parser (CVE-2020-7662, reported by Robert McLaughlin) Change license from...

dependencies

noticed that componentWillUnmount includes window.addEventListener when I assumer you mean to be removing them, as you already add them in the mounting method

I don't understand purpose of adding new eventListeners when component will unmount. So I guess there are mistakes in code

![Screen Shot 2019-07-05 at 7 43 56 PM](https://user-images.githubusercontent.com/25770330/60750440-4468bb00-9f5d-11e9-8ea4-41d5b13e3af0.png)

I'd like to be able to achieve something similar to this CSS functionality - ``` // Mobile menu @media only screen and (min-width: 1000px) and (min-height: 500px) { // Desktop...

If using the `currentBreakpoint` for rendering different elements dependent on the breakpoint react cannot hydrate correctly if the `guessedBreakpoint` does not match with the client. (I use the `user-agent` from...

withBreakpoints returns new breakpoints object (with same data) every render. We have a some child components that should not re-render every time the parent re-renders. But we noticed that they...

Is there any reason why this package isn't written so that it can be used like this: ``` ... ... ``` So that the children are conditionally rendered? I'm a...

future feature

We merged a PR not too long ago that fixed the forwardRef issue. We need to test if this newer version of the package allows us to remove our solution...

investigate