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

loader response http headers propagation on SSR? #62

Open
hi-ogawa opened this issue Jul 16, 2023 · 0 comments
Open

loader response http headers propagation on SSR? #62

hi-ogawa opened this issue Jul 16, 2023 · 0 comments

Comments

@hi-ogawa
Copy link
Owner

hi-ogawa commented Jul 16, 2023

cf.

// TODO: apply server loader headers?
// remix employs `export const header = ...`
// https://github.com/remix-run/remix/blob/8268142371234795491070bafa23cd4607a36529/packages/remix-server-runtime/headers.ts#L65-L76
routerResult.context.loaderHeaders;

Providing convention for this would be too opinionated, so probably just providing a few utilities at best.

@hi-ogawa hi-ogawa changed the title loader response http headers propagation loader response http headers propagation? Jul 16, 2023
@hi-ogawa hi-ogawa changed the title loader response http headers propagation? loader response http headers propagation on SSR? Jul 16, 2023
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