react-responsive-redux icon indicating copy to clipboard operation
react-responsive-redux copied to clipboard

a question regarding value props in the README

Open coolgod opened this issue 9 years ago • 1 comments

This example will work fine as long as your browser window is >= 1024px. If it's not you're back to the warning above.

why it is ">=1024px", why it isn't ">=992px" ?

coolgod avatar Nov 29 '17 04:11 coolgod

why it is ">=1024px", why it isn't ">=992px" ?

because in this case width: 1024 is what we're telling react-responsive our width is on the server side. you are correct in that having a width of >=992px will work in this case - i used different numbers here to show the difference between the breakpoints and the width value.

modosc avatar Dec 01 '17 00:12 modosc