You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If states of createGlobalState will be available to all of Vue instances. What is the point of using createInjectionState, when you have to provide & inject to specific components. (Obviously, in case that you don't want to expose some of the global states to some components.)
What are the pros and cons? Does it hurt performance?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If states of
createGlobalState
will be available to all of Vue instances. What is the point of usingcreateInjectionState
, when you have to provide & inject to specific components. (Obviously, in case that you don't want to expose some of the global states to some components.)What are the pros and cons? Does it hurt performance?
P/S: I'm generally kinda new to Vue.
Beta Was this translation helpful? Give feedback.
All reactions