vuejs / vuex

🗃️ Centralized State Management for Vue.js.
https://vuex.vuejs.org
MIT License
28.42k stars 9.58k forks source link

Will using vuex in nuxt affect the performance of the program? #2190

Closed bianliuzhu closed 2 years ago

bianliuzhu commented 2 years ago

My colleagues and I are discussing whether the use of Vuex in Nuxt will affect performance, but we have not reached a unified opinion. Because we do not know much about the bottom implementation and operating principle of NUXT. If we can hope that you can give it We have some pointers

  1. Will using Vuex reduce performance?
  2. Will Vuex run on the server? and will vuex data be downloaded from the server to the client?
  3. Does the use of Vuex increase the memory?
  4. The same state, what is the difference between storing in vuex and storing in components

Thank you for your answer

vue-bot commented 2 years ago

Hello, thank you for taking time filling this issue!

However, we kindly ask you to use our Issue Helper when creating new issues, in order to ensure every issue provides the necessary information for us to investigate. This explains why your issue has been automatically closed by me (your robot friend!).

I hope to see your helper-created issue very soon!

wangjiaoj commented 2 years ago

这是来自QQ邮箱的假期自动回复邮件。您好,您的邮件我已经收到,我尽快给您回复。

weier910 commented 2 years ago

你的邮件我已收到!