Why isn’t there a parenthesis when executing the tweetIsEmpty() function?
Ikechi Michael
13

If I understand correctly, in our view, we aren’t executing the tweetIsEmpty function. Vue’s template syntax asks us to pass the name of a computed property to a given directive (be it :disabled). Then, under the hood, the value returned from that function is cached and updated automatically whenever the data model changes.

Show your support

Clapping shows how much you appreciated Matt Rothenberg’s story.