After experimenting with Vuex to store user-selected information in my app, I found that the data was lost upon page reload. Switching to Cookies and using js-cookie solved this issue seamlessly. It makes me wonder if there is a downside to relying on cookies over Vuex for data storage. While I haven't encountered any issues with cookies so far, it feels like there must be some drawbacks.
When it comes to gathering information that persists through page reloads, which approach is superior?