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

In dev mode, provide better error than 'cannot read property _init of null' #1807

Closed
Rich-Harris opened this issue Oct 25, 2018 · 0 comments · Fixed by #1811
Closed

In dev mode, provide better error than 'cannot read property _init of null' #1807

Rich-Harris opened this issue Oct 25, 2018 · 0 comments · Fixed by #1811

Comments

@Rich-Harris
Copy link
Member

If a component references a store $property, it will try to subscribe to the store. If there is no store, it will result in a weird error. The error could be much friendlier, at least in dev mode

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

Successfully merging a pull request may close this issue.

2 participants