Problem Statement
When should you use custom events, and when would you consider an event bus or store?
Explanation
Use custom events for direct parent–child communication. Event buses (Vue 2 pattern) can create hidden coupling and are discouraged in larger apps—prefer Vuex/Pinia for many-to-many communication or deeply nested siblings. Stores keep flows predictable and testable.