title: Nuxt 3 - Pinia Vs useState()
body: <h2>Store (Pinia) Vs UseState</h2>
  <p>If I am not mistaken, <code>useState</code> can replace any store like <code>Pinia</code>? Given that <code>useState</code> makes ref sharable across all components I have a hard time knowing if I should use a store or a useState ref. For instance, let's say I have a <code>currentUser (firstName, lastName, email)</code> that I fetch from a distant API at page loading. Should I stock this information in a <code>Pinia</code> userStore or in a <code>useState('currentUser')</code>?</p>
  <p>What are best practices on this topic?</p>
  <p>useState() docs:
  <a href="https://v3.nuxtjs.org/api/composables/use-state" rel="noreferrer">https://v3.nuxtjs.org/api/composables/use-state</a></p>
  <p>Pinia docs:
  <a href="https://pinia.vuejs.org/core-concepts/" rel="noreferrer">https://pinia.vuejs.org/core-concepts/</a></p>