Mastering Pinia's Avatar

Mastering Pinia

@masteringpinia.com

🍍Transform your Vue.js state management skills with Mastering Pinia πŸ“šΒ Developed by the author of Pinia πŸš€Β From BitterBrains, powered by @vueschool.io

135
Followers
19
Following
212
Posts
06.11.2024
Joined
Posts Following

Latest posts by Mastering Pinia @masteringpinia.com

Post image

Happy Holidays from the Mastering Pinia team πŸ’›

Thank you to our amazing community of developers and learners.

Here’s to more learning & fun projects in 2026!🍍

24.12.2025 15:17 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Mastering Pinia | Learn from the creator of Pinia The ultimate course for mastering the officially recommended State Management solution for Vue.js. Created by Eduardo San Martin Morote, the author of Pinia.

The Black Friday weekend rush is over, but your chance isn’t. 🎁

Cyber Monday gives you a final shot at up to 50% off Mastering Pinia.

Treat yourself, your future self will thank you. πŸ‘‡
https://vue.school/mpbf25x

01.12.2025 15:27 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Interesting Fact: Pinia Colada’s Infinite Scrolling πŸπŸ’»

It simplifies pagination with a declarative approach, supporting both page-based and cursor-based navigation. A game-changer for Vue apps! Try it out and share feedback.

09.09.2025 15:28 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

What’s your go-to strategy for debugging Pinia stores with Vue DevTools? Any pro tips? 🍍

08.09.2025 09:17 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

What new Pinia or Pinia Colada features are you hoping Posva will announce next? πŸ˜…

05.09.2025 14:26 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Are you leveraging Pinia’s TypeScript support for type-safe stores? How’s it working for you? πŸ€”

04.09.2025 09:17 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Remember, it's consistent in Vue but differs in JavaScript.

03.09.2025 15:28 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

A community member asked us:
How is the β€œv-for="[tabId, title]” Syntax used in tabList?

Our answerπŸ‘‡
This syntax is versatile, & you can use it directly in your code. Plus, you can also utilize "v-for="{ id, other } in" or replace "in" with "of" – all achieving the same result.

03.09.2025 15:28 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

Learn how to build a Tabs Manager Solution using inject/provide for tightly-coupled Vue components. Boost your app's maintainability with this advanced dependency injection exercise.

Check it out now!

https://masteringpinia.com/lessons/creating-a-tabs-manager-solution

02.09.2025 14:25 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Fun Fact: Why the Name Pinia?
Did you know Pinia is named after "piña" (Spanish for pineapple)? 🍍

It symbolizes individual stores joining together to form a single, delicious state management solution. A nod to Eduardo's creative naming! Try pronouncing it β€œpeenya” for fun.

01.09.2025 14:23 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Are you going to build anything this weekend with Pinia or Pinia colada?
If yes, feel free to share a link to your project! πŸ€“

29.08.2025 14:23 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

πŸ’‘Advice: Optimize Pinia for SSR
Using Pinia with Nuxt? Always install Pinia before Pinia Colada for seamless SSR support. This ensures proper hydration and caching.

28.08.2025 14:25 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

How do you combine Pinia stores with Pinia Colada for complex async state management?
Share your patterns! πŸ‘‡

27.08.2025 15:28 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Pinia Store Official Pinia shop for merch.

You have asked me this a lot, so here it is!
Announcing the Pinia Store πŸŽ‰
pinia.store

27.08.2025 06:15 πŸ‘ 28 πŸ” 6 πŸ’¬ 2 πŸ“Œ 3

Have you tried Pinia Colada’s infinite scrolling API?
What’s your feedback on its declarative approach? πŸ’»

25.08.2025 14:23 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

What’s the trickiest state management issue you’ve faced with Pinia, and how did you solve it? 😏

22.08.2025 14:23 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

πŸ’‘Tip of the day: Fetch data effortlessly with Pinia Colada’s `useQuery`.

Automatic caching and deduplication included! How are you using useQuery?

21.08.2025 15:28 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

How do you handle server-side rendering (SSR) with Pinia Colada in Nuxt apps?
Any tips for smoother integration? πŸ’‘

20.08.2025 14:23 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

πŸ“’ It’s coming! Certificates.Dev’s Vue.js Free Weekend is Aug 23–24!
πŸ†“ FREE 48h Official Vue.js Mid-Level Cert Training: Pinia challenges, trial exam & more.

Let’s upgrade your skills: https://certificates.dev/vuejs/free-weekend

19.08.2025 15:28 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Are you using Pinia Colada’s useQuery or useMutation in your projects?
How do they compare to TanStack Query? πŸ€”

18.08.2025 15:28 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

πŸ’‘ Tip: Simplify Pinia Store Creation

Here’s a quick counter store example:
Use it in your Vue component with `const counter = useCounterStore()`

15.08.2025 14:25 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

What’s your favorite Pinia Colada feature for simplifying data fetching in Vue?
Let’s hear your use cases! πŸ‘©β€πŸ’»

14.08.2025 14:23 πŸ‘ 4 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Post image

What would you do if someone opened an issue or discussion like this in your OSS repo? πŸ˜…

14.08.2025 06:52 πŸ‘ 12 πŸ” 1 πŸ’¬ 5 πŸ“Œ 0

πŸ˜…πŸ˜…

14.08.2025 07:51 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

Unit Testing Stores: What do you know about it?

Check out this lesson where we will cover everything there is to know about unit testing stores with Pinia. 🍍

https://masteringpinia.com/lessons/unit-testing-stores

13.08.2025 14:25 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

How do you organize your Pinia stores in large Vue 3 apps to keep them maintainable?
Share your folder structure! πŸͺœ

12.08.2025 14:23 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

πŸ”₯ Today we have a special announcement for you: Certificates.Dev’s Vue.js Free Weekend is Aug 23–24!

Get 48h FREE Official Vue.js Mid-Level Cert Training with Pinia focus, code challenges & trial exam.

Are you ready? Sign up now: https://certificates.dev/vuejs/free-weekend

11.08.2025 15:28 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

πŸ’‘Tip of the day: Pinia integrates with Vue Devtools for inspecting and debugging your stores.

Vue Devtools provides a dedicated tab for viewing and manipulating Pinia store state, making it easier to debug your application's state management.

08.08.2025 14:29 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

πŸ€”A community member asked us: "How does the β€œn ref” keep its value once it is destroyed?”

πŸ€“ Here’s our answer:
The β€œn: refβ€œ syntax is used to create a reference that persists across component re-renders, the value stays untouched, just the reactivity stops working.

07.08.2025 15:28 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

Create a basic Vue 3 `effectScope` πŸ‘©β€πŸ’»

Vue offers effectScope as a container for reactive effects. You can create one using effectScope() and run effects within it using scope.run().

06.08.2025 14:29 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0