abersager / redux-persist-cookie-storage

Redux Persist storage adapter for cookies
MIT License
92 stars 10 forks source link

Support custom cookie jars on the server side #3

Closed modosc closed 7 years ago

modosc commented 7 years ago

this allows a caller to pass in an instantiated cookie jar as the cookies option.

fwiw this was the only way i could get server-side redux actions to set cookies on the initial network response (as soon as the client side rendered the cookies would get set there)

abersager commented 7 years ago

👍 Many thanks for your contribution! You're right, the existing implementation did not allow cookies to be set server side.