-
Notifications
You must be signed in to change notification settings - Fork 13
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
Isomorphic cookie API #40
Comments
Thanks for logging this. Additional things to consider with reading/setting cookies (just in case you hadn't), some cookies maybe only be http ones and secure (i.e. served over https). Not sure if and how this impacts the approach to solving this. |
As a side note, being able to inject stuff into app-state before rendering server-side would be quite useful for stuff like loading stuff based on cookie data. Alternatively, giving Arch access to cookie data can also work. |
@tabazevedo should be doable in applications |
@charypar we need the |
@tabazevedo I think you'd get |
See #53 |
Since this is still open, I figured I'd mention set-cookie, which does this already and is used at AirBnB (not affiliated). |
@chrisvfritz oh, thanks for that. Super useful. Ended up writing my own in a spike i did a little while ago but its probably better to use that, looks great |
Similar to the redirect API, we should support a cookie handling API for reading and setting cookies uniformly on both sides of the wire.
/cc @gregstewart
The text was updated successfully, but these errors were encountered: