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
When using react-sizes in conjunction with a server-side mode, we are experiencing a flicker of the screen on either mobile or desktop (depending on the server-side configuration for sizes)
Concept
The concept is fairly simple: We are having a Context's Provider for the current size of the window, which is automatically updated through the window.addEventListener('scroll') event listener.
The initial value should be the window width, when the provider is initialized.
Open Questions
Will we support Mobx-State-Tree?
What will happen on server-side rendering?
Do we need to have a document listener?
The text was updated successfully, but these errors were encountered:
Motivation
When using
react-sizes
in conjunction with a server-side mode, we are experiencing a flicker of the screen on either mobile or desktop (depending on the server-side configuration for sizes)Concept
The concept is fairly simple: We are having a Context's
Provider
for the current size of the window, which is automatically updated through thewindow.addEventListener('scroll')
event listener.The initial value should be the
window
width, when the provider is initialized.Open Questions
The text was updated successfully, but these errors were encountered: