title: Vuex state management Vs Vue simple state management
body: <p>I'm relatively new to using Vue.js. I am developing a webapp (using Laravel for the backend) and I was wondering what the difference, in terms of security, was between using Vuex and the simple state management of Vue.js. Let me explain: during registration/login I would like to save the user identifier (id or access token): can I manage the identifier with Vue.js or is it safer to use Vuex? Could I possibly save the identifier directly in the $root component of Vue.js (since its value will not have to be changed)?</p>
  <p>Thank you all</p>