Skip to content

acceptDialog state cloning style #20

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

Open
ar5had opened this issue Jul 13, 2017 · 0 comments
Open

acceptDialog state cloning style #20

ar5had opened this issue Jul 13, 2017 · 0 comments

Comments

@ar5had
Copy link
Owner

ar5had commented Jul 13, 2017

This issue is just a reemider to the fact that in acceptDialog state is cloned by JSON.parse the stringified result of state - const stateData = JSON.parse(JSON.stringify(redux_store.getState()));
^ This will result in loss of null and other values that aren't supported by JSON so keep it in mind where such values are important and improve this.

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

1 participant