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 the way we handle Cookies module in server-side is by passing the SHARED_COOKIES from hooks.server to root load function and then passing it to the component level which then creates the Cookies instance from those cookies. As you can already see this is complex and hate the way it is handled right now, its so ugly and a code smell if you ask me.
We should be able to find a better way to handle it :(
The text was updated successfully, but these errors were encountered:
currently the way we handle
Cookies
module in server-side is by passing theSHARED_COOKIES
fromhooks.server
to rootload
function and then passing it to the component level which then creates theCookies
instance from those cookies. As you can already see this is complex and hate the way it is handled right now, its so ugly and a code smell if you ask me.We should be able to find a better way to handle it :(
The text was updated successfully, but these errors were encountered: