possibly null expression inside v-if guard #169
Unanswered
MuTsunTsai
asked this question in
Q&A
Replies: 3 comments 2 replies
|
Any idea how to fix it? I have same problem with v-if. |
2 replies
|
Not great, but another workaround for your sample could be using the |
0 replies
|
One more solution I used instead. Instead of Then you don't have to sprinkle |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I notice that expressions inside
v-ifare rendered one more time asv-ifcondition becomesfalse, and this is quite bothering as I can't then usev-ifas a null guard like I can in Vue. Here is a minimal example; an error will shown in the console after 3 seconds.See this codepen.
All reactions