Replies: 1 comment
-
This project uses discussions (in case you were trying to find the first question in the issue tab). |
Beta Was this translation helpful? Give feedback.
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.
-
Try the example below: Initially, user is null, and the x-if leaves it alone. Tap log in, x-if now shows the logged in user. Then tap logout, user is now null again. The x-if correctly doesnt try to show the user any more, but still tries to evaluat user.name for some reason, causing console errors etc. In practise, this makes it hard/impossible for me to do component based design.
(sorry if this somehow got double posted, i tried to submit first but couldnt find my original question when searching)
Beta Was this translation helpful? Give feedback.
All reactions