Quiz Yourself on Managing Application State

Test yourself on what you’ve learned so far.

1

What should we do if we need to share the state between two sibling components?

A)

Put the state in the Vuex store

B)

Put the state in the App.vue component and provide it through provide/inject

C)

Lift the state up to the least common parent component

D)

Keep state in both components and use the event bus to keep it in sync

Question 1 of 70 attempted

Get hands-on with 1200+ tech skills courses.