-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Should vuex mapState print error message #1093
Labels
enhancement
New feature or request
Comments
EdyHartono
pushed a commit
to EdyHartono/vuex
that referenced
this issue
Jun 3, 2018
ktsn
pushed a commit
that referenced
this issue
Nov 10, 2019
fixed via #1297 |
This was referenced Nov 18, 2019
This was referenced Jan 21, 2020
This was referenced Mar 1, 2020
This was referenced Mar 12, 2020
This was referenced Mar 26, 2020
vaga
pushed a commit
to vaga/vuex
that referenced
this issue
Apr 20, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What problem does this feature solve?
I got the following error: Uncaught TypeError: Cannot convert undefined or null to object
then realized I invoked the
...mapState(NSP_CONCEPT)
without a second parameter.It took some time while I figured out, would have been great, if there is a condition to don't fail or print out a message.
What does the proposed API look like?
print a message, or put a condition into the function
The text was updated successfully, but these errors were encountered: