Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A better way to handle the StorageTypes module #17

Open
FoHoOV opened this issue Jun 28, 2024 · 0 comments
Open

A better way to handle the StorageTypes module #17

FoHoOV opened this issue Jun 28, 2024 · 0 comments

Comments

@FoHoOV
Copy link
Owner

FoHoOV commented Jun 28, 2024

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 :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant