20190531 VUECONF US 2019 Global vs. Component State in Vuex with Jaimes Jones
Jaimes goes over specific instances and how you decide which data belongs in a global state and which data belongs in a component state. Watch more Vue conference talks Get your free Vue essentials cheat sheet Explore courses Get in touch Tweet us 0:00 Introduction 0:35 Two States: Local Global 1:18 Will this piece of data be the same across the entire app 2:08 Will this piece of data be used across more than one component 2:31 Is this piece of data generated based on other data in the application 2:50 Will this piece of data be used in a component that renders multiple times 3:26 Will the date be changed from multiple places 4:00 Belongs in Global State 4:23 Belongs in Component State
|
|