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

fix(cerebral): prevent checkForComputed from throwing when the path does not exist in state #1438

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

JohannesAnd
Copy link
Contributor

When the devtools are open, checkForComputed will try to access the current data that will be overwritten. When this data does not exist, it throws an error trying to access something on undefined

ISSUES CLOSED: #1412

…oes not exist in state

When the devtools are open, checkForComputed will try to access the current data that will be overwritten. When this data does not exist, it throws an error trying to access something on undefined

ISSUES CLOSED: cerebral#1412
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

Successfully merging this pull request may close these issues.

Setting non-existent path in state works without devtools, throws error with devtools
1 participant