PatrickJS

Results 280 comments of PatrickJS

please use `[email protected]` to set request cookies. if you have examples and a repro repo oh what you're trying to do then I can show you how to do it...

here is a summary of my response on discord **Summary of Why `server$` Can't Set Cookies in Certain Cases:** 1. **Issue with Initial Load**: - When using `server$` to set...

unicorn 🦄

ok just did but it looks like it fails when it should work (since import attributes changes to with keyword)

waiting on this pr i think https://github.com/QwikDev/qwik/pull/6005

oh yeah this repo was made before all the fancy github feature

@wmertens we need to delay writing to headers until we first "write" to the client. that way any app code can run and add cookie headers before we stream.

yes this applies to all headers. the e2e tests hang with this fix but when I run it locally it works correctly in preview-only. so there is something going on....

@wmertens I'm thinking e2e is waiting for headers which is why it fails during e2e but not when running locally. maybe there's another way

I think it's better having devs use `[email protected]` and middleware for this