This PR reproduces theme flickering to understand what needs to change in bud:
[ ] Fix SSR flickering
cookie.get(...) uses document.cookie under the hood. document.cookie is not defined by V8 on the server-side, but probably should be. We'd need to take care exposing DOM APIs though. We don't want to get in a situation where people get confused by what's available on server-side and what's not.
Trying to keep this PR as basic as possible so no AJAX or anything. All that stuff can be added on top.
This PR reproduces theme flickering to understand what needs to change in bud:
cookie.get(...)
usesdocument.cookie
under the hood.document.cookie
is not defined by V8 on the server-side, but probably should be. We'd need to take care exposing DOM APIs though. We don't want to get in a situation where people get confused by what's available on server-side and what's not.Trying to keep this PR as basic as possible so no AJAX or anything. All that stuff can be added on top.