Advertisement · 728 × 90

Posts by Mastering Pinia

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!🍍

3 months ago 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

4 months ago 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.

7 months ago 0 0 0 0

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

7 months ago 0 0 0 0

What new Pinia or Pinia Colada features are you hoping Posva will announce next? 😅

7 months ago 1 0 0 0

Are you leveraging Pinia’s TypeScript support for type-safe stores? How’s it working for you? 🤔

7 months ago 0 0 0 0

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

7 months ago 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.

7 months ago 1 0 1 0
Advertisement
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!

masteringpinia.com/lessons/creating-a-tabs-...

7 months ago 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.

7 months ago 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! 🤓

7 months ago 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.

7 months ago 1 0 0 0

How do you combine Pinia stores with Pinia Colada for complex async state management?
Share your patterns! 👇

7 months ago 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

7 months ago 28 6 2 3

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

7 months ago 1 0 0 0

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

7 months ago 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?

7 months ago 2 0 0 0

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

7 months ago 2 0 0 0
Advertisement
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

7 months ago 2 0 0 0

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

7 months ago 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()`

7 months ago 1 0 0 0

What’s your favorite Pinia Colada feature for simplifying data fetching in Vue?
Let’s hear your use cases! 👩‍💻

7 months ago 4 1 0 0
Post image

What would you do if someone opened an issue or discussion like this in your OSS repo? 😅

7 months ago 12 1 5 0

😅😅

7 months ago 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

7 months ago 1 0 0 0

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

7 months ago 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

8 months ago 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.

8 months ago 1 0 0 0
Advertisement

🤔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.

8 months ago 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().

8 months ago 0 0 0 0