MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/reactjs/comments/gmos56/introducing_reactcooldimensions_react_hook_to/fr5gxea/?context=3
r/reactjs • u/WellyShen • May 19 '20
49 comments sorted by
View all comments
108
What does this do that CSS can't?
e: It's a legit question someone else might have, anonymous downvoter... would be nice to still have some visibility to answer it before it gets buried.
73 u/mattwoodnyc May 19 '20 provides breakpoints based on an element's size, rather than the viewport size 10 u/Smaktat May 19 '20 Got it.
73
provides breakpoints based on an element's size, rather than the viewport size
10 u/Smaktat May 19 '20 Got it.
10
Got it.
108
u/Smaktat May 19 '20 edited May 19 '20
What does this do that CSS can't?
e: It's a legit question someone else might have, anonymous downvoter... would be nice to still have some visibility to answer it before it gets buried.