[英]Would vuex state management be useful in implementing a multi page app with django?
I have created a single page app before with Vue and Vuex for state management and am looking into multi page apps with the django backend framework. 之前,我已经使用Vue和Vuex创建了一个单页应用程序来进行状态管理,并且正在使用django后端框架研究多页应用程序。 I am curious to know if there would be any pros to including vuex state management or would the backend take care of state management in this case?
我很好奇,想知道在包括vuex状态管理方面是否有任何优点,还是在这种情况下后端会负责状态管理?
Vuex still has use cases, even if you are navigating (and thus clearing the store) between pages. 即使您在页面之间导航(从而清除商店),Vuex仍然具有用例。
That said, you probably only want to add a store when you feel the need to have one. 就是说,您可能只想在需要时添加一家商店。 Adding a store is usually trivial.
添加商店通常很简单。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.