Skip to content

Loader props missing request object for ssr #537

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

Open
clayrisser opened this issue Apr 26, 2025 · 1 comment
Open

Loader props missing request object for ssr #537

clayrisser opened this issue Apr 26, 2025 · 1 comment

Comments

@clayrisser
Copy link
Contributor

clayrisser commented Apr 26, 2025

This commit 615a97e added the request to the loader props, but it seems to not be working when using ssr.

I believe the issue is because the following code is where the request needs to be added.

https://github.com/onejs/one/blob/main/packages/one/src/useLoader.ts#L26

@clayrisser clayrisser changed the title Request has been removed from loader props Loader props missing request object for ssr Apr 26, 2025
@clayrisser
Copy link
Contributor Author

Without this change, I'm unable to use cookies for SSR

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