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
{{ message }}
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
When you set store data on the server, if it cannot be serialized by devalue (objects containing functions are one such case), your client side will not receive a copy of the store in the init runtime. There are no warnings and for newbies this could be a source of confusion. Suggest a warning message to console server side and possible even set an error message in the store to warn the client side?
The text was updated successfully, but these errors were encountered:
We should be able to pass a context object (like Graphql) to page/server routes and components both on server and client. The context object should be available as this.context like this.store. In my opinion its a must have feature.
When you set store data on the server, if it cannot be serialized by devalue (objects containing functions are one such case), your client side will not receive a copy of the store in the init runtime. There are no warnings and for newbies this could be a source of confusion. Suggest a warning message to console server side and possible even set an error message in the store to warn the client side?
The text was updated successfully, but these errors were encountered: