MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/reactjs/comments/gmos56/introducing_reactcooldimensions_react_hook_to/fr57zja
r/reactjs • u/WellyShen • May 19 '20
49 comments sorted by
View all comments
Show parent comments
4
You can monitor the root element of a page to achieve your goal. I will think the possibility of integrating that into this library if most people need it 🤔
1 u/p13t3rm May 19 '20 Cool, I’ll give this a try here in a bit.
1
Cool, I’ll give this a try here in a bit.
4
u/WellyShen May 19 '20 edited May 19 '20
You can monitor the root element of a page to achieve your goal. I will think the possibility of integrating that into this library if most people need it 🤔