Skip to content
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

Error when calling cookie.load #129

Open
sedum729 opened this issue Jul 25, 2022 · 1 comment
Open

Error when calling cookie.load #129

sedum729 opened this issue Jul 25, 2022 · 1 comment

Comments

@sedum729
Copy link

_cookie2.default.parse is not a function

@stanisnotavailable
Copy link

Unfortunately, the npm description is not up to date. The current API version does not support the .load(name, [doNotParse]) method. I am sure you have already figured it out, but the "new" way is to call the .getCookie(name) method.

For further information about the current API please refer to: https://github.com/bukinoshita/react-cookies#readme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants