grofers / redux-cookies-middleware

redux-cookies-middleware is a Redux middleware which syncs a subset of your Redux store state with cookies.
MIT License
81 stars 16 forks source link

bugfix for not throwing error on reading non JSON values from cookies #50

Closed ashbhir closed 5 years ago

ashbhir commented 5 years ago

This PR adds the ability to read values as it is from cookies rather than assuming it to be JSON and throwing error otherwise.

ashbhir commented 5 years ago

Duplicate of #51

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.7%) to 94.245% when pulling e2962cb6fe49c14e9df53577ded8ec1129c80ecd on bugfix-nonJSON-cookies into 6a73911e841b7bdf0057228d98a5103fde94267f on master.