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

Get rid of redux persist issue with NextJS #308

Closed
dayhaysoos opened this issue Mar 4, 2023 · 7 comments
Closed

Get rid of redux persist issue with NextJS #308

dayhaysoos opened this issue Mar 4, 2023 · 7 comments

Comments

@dayhaysoos
Copy link
Owner

Just putting this here to document my finding and keep y'all updated.

Technically, we shouldn't be dealing with this issue due to this:

https://redux-toolkit.js.org/usage/usage-guide#use-with-redux-persist

However, I think I finally found the issue.

The problem is coming from the value for "stripe" in the redux store coming through as 'undefined'. I think the solution would be as simple as making it an empty string or trying to get it to ignore this error in particular, but I'm not sure how that might affect the rest of the lib so I have to experiment.

@dayhaysoos
Copy link
Owner Author

This will be fixed by #310 methinks

@alec-bfa
Copy link

Sadly this is still an issue as of 3.1.5

@dayhaysoos
Copy link
Owner Author

@alec-bfa I'm gonna take a look soon, thanks for letting me know

@dayhaysoos
Copy link
Owner Author

@alec-bfa you have a repo I can look at? I can't seem to reproduce the error now

@dayhaysoos
Copy link
Owner Author

Hey @alec-bfa, I just released 3.1.6... This might be the actual fix lol...can you double check

@dayhaysoos
Copy link
Owner Author

Pretty sure I fixed it here tbh e25423c

@alec-bfa
Copy link

@dayhaysoos Yep I can confirm that has fixed the problem. At least a clutter free development terminal - Thanks!

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