I like the fact that Vue gives so many options, but I am a little confused here. Considering that:
- Tanstack's vue-query is extremely efficient and managing/caching data coming from the server
- Inject/provide is an awesome mechanism to provide "globals" that can also be reactive. It's even more awesome, as you can provide() at app-level (real global) or in sub-section of the app (with a sub-element provide()'ing). You can also provide refs.
So... what's the possible use case of using Pinia at all?