News for hackers. Stuff that matters.
Re:Why I left React for Vue by MattRix on Tuesday December 25, 2018 @10:53PM (#18760391)
That gets messy fast though. You start having to escape strings in your code, and potentially have a trickier time with autocompletion etc.
Re:Why I left React for Vue by kangoo1707 on Tuesday December 25, 2018 @11:03PM (#18760428)
then write a method for it.

Instead of v-if="currentUser && currentUser.id && ..." you can just write v-if="canDoStuff(currentUser)"