Instead of drilling props through multiple components, we’ll use Vue's provide
and inject
APIs to manage the sidebar's state more efficiently. With TypeScript, we’ll ensure type safety by defining and using InjectionKey
symbols, keeping our code clean and maintainable.