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
If you use ComponentStyle + breakpoints in your Kobweb project, you should get a clean responsive design when you open your page either using mobile or desktop.
Instead, if you rely on rememberBreakpoints too much, what can happen is your site exports with a desktop-sized width, generates such a layout, and then if you load the site on mobile, you'll get a "desktop" snapshot until the JS finishes loading, kicking in, and rerendering the site.
I need to look into this to 1) verify this is happening and 2) find a better way to communicate this to users (maybe via the README and code docs?)
The text was updated successfully, but these errors were encountered:
If you use
ComponentStyle
+ breakpoints in your Kobweb project, you should get a clean responsive design when you open your page either using mobile or desktop.Instead, if you rely on
rememberBreakpoints
too much, what can happen is your site exports with a desktop-sized width, generates such a layout, and then if you load the site on mobile, you'll get a "desktop" snapshot until the JS finishes loading, kicking in, and rerendering the site.I need to look into this to 1) verify this is happening and 2) find a better way to communicate this to users (maybe via the README and code docs?)
The text was updated successfully, but these errors were encountered: