title: How to display data from Vuex store in life time in Vue
body: <p>I want o show data from Vues store. So first I want to check if authentication true, if it is, I want to show data from Vuex. Here is my shortcode:</p>
  <pre><code>&lt;li v-if=&quot;authenticated&quot;&gt;
                              Hello, {{ getUser.attributes.first_name }}
                          &lt;/li&gt;
  
  
  computed: {
      getUser() {
          console.log(this.$store.state.user)
          return this.$store.state.user;
      }
  },
  </code></pre>
  <p>But I am getting error like you see in the picture below, why do you think it might be? Why first the object is coming empty and then object is filled?</p>
  <p><a href="https://i.stack.imgur.com/fMnDc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fMnDc.png" alt="enter image description here" /></a></p>