provide
and inject
allow dependency injection between ancestor and descendant components, ideal for local state sharing without Vuex. Unlike Vuex’s centralized store, provide/inject
is scoped and lightweight, reducing coupling for isolated state needs.