You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently my project heavily relies on class based components. I am trying to implement masonic but only issue that I am getting is that I can't able to use useWindowScroll hook in that. And because of that when scroll is happening no data is getting rendered. Any quick example with class based components will highly appreciated. Thanks.
The text was updated successfully, but these errors were encountered:
The easiest solution would be to create a functional component and render the masonic grid there and from your class component only to pass the data to render as props.
Currently my project heavily relies on class based components. I am trying to implement masonic but only issue that I am getting is that I can't able to use useWindowScroll hook in that. And because of that when scroll is happening no data is getting rendered. Any quick example with class based components will highly appreciated. Thanks.
The text was updated successfully, but these errors were encountered: