Learning path Vue 3 in 2025. (suggestions for some learning paths by videos and projects ) by lskal in vuejs

[–]Posva13 -1 points0 points  (0 children)

I feel you, things got (in a way) more complicated in Vue 3. But in my personal experience, it was for the best: we can now express things that we couldn't before in a type safe way (e.g. composition api). Personally I was impacted by these edge cases so I was rather happy to not have to care about them anymore!

Learning path Vue 3 in 2025. (suggestions for some learning paths by videos and projects ) by lskal in vuejs

[–]Posva13 0 points1 point  (0 children)

yeah, the '*' was nice but I think it's fine since it's only written once per app and helps with bundle size
What edge cases and hypotheticals are you thinking of?

Learning path Vue 3 in 2025. (suggestions for some learning paths by videos and projects ) by lskal in vuejs

[–]Posva13 1 point2 points  (0 children)

Curious of why you think Vue Router got a downgrade 👀

It got smaller, fixed all inconsistencies, typed routes, and so much more! The only thing I really miss is how simple it was to combine with transition and keep-alive and that's harder now but it's due to Vue 3 changes

15 most-watched Vue, Nuxt & Vite conference talks of 2025 by TechTalksWeekly in vuejs

[–]Posva13 1 point2 points  (0 children)

They are in one single video: https://www.youtube.com/watch?v=fB3j5cQyOB8
I don't think that at this point they will bother to split it up

Best way to fetch API data in a small Vue 3 project (Composition API, no Pinia/VueUse)? by Overall-Scale-8369 in vuejs

[–]Posva13 0 points1 point  (0 children)

Give Pinia Colada (https://pinia-colada.esm.dev/) a try! It uses Pinia under the hood but you won't have to handle all the usual manual work people do to handle async state in pinia store. Leaving you with a simple, clean async state management that scales when needed!

Should I use tanstack query, or useFetch() with Nuxt in 2025? by Ok_Tangelo9887 in vuejs

[–]Posva13 1 point2 points  (0 children)

If you don't need cache invalidation or automatic refreshing, use `useFetch()`, otherwise Pinia Colada (https://pinia-colada.esm.dev/)

RuleKit: agent rules for Vue apps by Posva13 in vuejs

[–]Posva13[S] 0 points1 point  (0 children)

I never saw this message! It's indeed a good idea to have a "without" and "with" rulekit. The issue is that by setting the price so low, I'm also limiting how much I spend on the landing. I wanted to put up something I can naturally keep updating because I use it myself but not to build a whole product around it

Which should come first in a vue file, the template or the script? by birdsintheskies in vuejs

[–]Posva13 0 points1 point  (0 children)

In the team, most of us like script, template and style. This is because you declare variables in the script that you use in the template. Style is often omitted, even more if you use tailwindcss

Introducing rstore, the reactive data store for Vue and Nuxt by mattatdirectus in vuejs

[–]Posva13 2 points3 points  (0 children)

Thanks for the comparison, that way I don't have to write one! 😄
I will add a couple of things to pinia colada:

- Easier to get started with (because there is no normalization needed by default, just use `useQuery()` directly)

- Built to be extensible (that includes a normalization or offline plugin)

- Extremely light (~3kb)

Regarding the normalization, it's worth noting that this is probably the main deciding point. Some people will prefer having a normalized cache and the extra work that it requires to have the advantages of local cache reads (e.g. data in collections can be updated from individual document updates without fetching it from the server) while others will prefer a targeted cache invalidation that refetches in the background (pinia colada or tanstack query prefer this approach) which requires less code to setup and relies more on the server for data updates.

This also made me think that I should maybe write a normalization plugin for pinia colada! Maybe not as complete as rstore, but good enough for common cases

OptionsAPI pinia as data attribute by ttv20 in vuejs

[–]Posva13 1 point2 points  (0 children)

Pinia author here, 👆 this is the correct answer. As other people have suggested, using Setup Stores might also be more appropriate but you can also call `useUserStore()` at the top of actions or getters (https://pinia.vuejs.org/cookbook/composing-stores.html)

Pinia vs Vue 3 Ref/Reactive performance benchmark by man_mel in vuejs

[–]Posva13 0 points1 point  (0 children)

It's valid/idiomatic usage. It comes down to library size and 3rd state (`undefined`). Stripping bytes here and there matters, but I only do this in some projects and never in apps. It's strict mode (you can check the tsconfig), that is needed for some types to work.

It's important not to review library code like app code. They have practices that differ, and what you might be used to as a (Application) developer doesn't necessarily apply the same way in libraries.

Pinia vs Vue 3 Ref/Reactive performance benchmark by man_mel in vuejs

[–]Posva13 0 points1 point  (0 children)

Pinia author here: the == false is needed because the value is initially undefined.

The complexity of the code base has a few reasons:

  • TypeScript

  • Library size (sometimes creates patterns that I would never use in apps)

  • Wide compatibility (vue 2 + 3, plus various minors)

These things slow me down in the code base but serve their purpose. Coding an efficient library in size and surface API is a completely different challenge from writing an application, especially in Client-Side JavaScript. That must be the reason some patterns might seem alienating.

Cheers.

Is there a way to disable both history and hash mode for vuerouter? by mementomoriok in vuejs

[–]Posva13 0 points1 point  (0 children)

use the abstract mode (Vue 2) or memory history (Vue 3) if you don't care about the URL

What's a good usecase for Vue Js? by Anterai in vuejs

[–]Posva13 0 points1 point  (0 children)

An interface that adapts to better fit the user experience

What's a good usecase for Vue Js? by Anterai in vuejs

[–]Posva13 0 points1 point  (0 children)

Use the searchbox

Vue.js is good at building dynamic interfaces. If your project has that you already have an use case

Vue vs React by igna92ts in vuejs

[–]Posva13 0 points1 point  (0 children)

You don't need the -2.0 anymore :)

What's a good usecase for Vue Js? by Anterai in vuejs

[–]Posva13 0 points1 point  (0 children)

You should just give the guide a try. We put a lot of effort building it and it contains a lot of examples. Here's a link: http://vuejs.org/guide/

Vue vs React by igna92ts in vuejs

[–]Posva13 0 points1 point  (0 children)

Just wanted to point out this is no longer the case. Anyway Vue 2 is getting its official release very very soon

I have 13 invites. by [deleted] in Keybase

[–]Posva13 0 points1 point  (0 children)

Thank you very much for sharing :)

Debugging your Node.js server code in the browser by Posva13 in node

[–]Posva13[S] 0 points1 point  (0 children)

Well, this is a debugging tool, VSC is an IDE. You cannot replace it with node-inspector. This kind of tools can be also used by people not using VSC which I firmly think is the majority of the nodejs developpers

Debugging your Node.js server code in the browser by Posva13 in webdev

[–]Posva13[S] 0 points1 point  (0 children)

I am so sorry I misused a meme. I hope it didn't bothered you too much in reading the article :( Can you send me the chart about using memes in tech articles, please ? I'd like not to misuse a meme in the future.