You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working with SSR, we can sometime have a setCookie called somewhere with a value needed for like an axios instance. When using getCookie, we can only retrieve the value from a request but not from the response.
I'm currently using cookie-universal but it would be nice if we could have fromRes or preferRes as an optionnal parameter to retrieve a cookie value from set-cookie of the response.
Additional information
Would you be willing to help implement this feature?
The text was updated successfully, but these errors were encountered:
Describe the feature
Hi 👋
When working with SSR, we can sometime have a
setCookie
called somewhere with a value needed for like an axios instance. When usinggetCookie
, we can only retrieve the value from a request but not from the response.I'm currently using
cookie-universal
but it would be nice if we could havefromRes
orpreferRes
as an optionnal parameter to retrieve a cookie value fromset-cookie
of the response.Additional information
The text was updated successfully, but these errors were encountered: