Eduardo San Martin Morote

Results 866 comments of Eduardo San Martin Morote

So something like this: ```ts import { createRouter, createWebHistory } from 'vue-router' import { routes, handleHotUpdate } from 'vue-router/auto-routes' export const router = createRouter({ history: createWebHistory(), routes, }) function addRedirects()...

I tested HMR more this time and things seem to be working well now!

I updated the docs for runtime routes + HMR. Feel free to send a PR to improve!

Thanks for the PR, you need to pass a first argument for data: `await fetchClient.post({}, { priority: 30 });`

Oh yeah, I thought you wanted to pass the option, I misread

I noticed there is also https://github.com/vuejs/pinia/pull/2757, so let's use that one instead. Thanks for the PR!

I think this was for performance reasons. There are no practical reasons to not remove `class` and it was highlighted in other issues in Vue 2 and dismissed already. Definitely...

This should be an easy fix in the compiler: avoiding adding that last `if` when the condition is empty

I feel like documenting how to prefetch with ```ts const queryCache = useQueryCache() queryCache.setQueryData(['the key'], await fetchData()) ``` is enough. When thinking about the API, you always need a valid...

That’s the thing: options do not interfere in prefetching, that’s why I think it’s worth keeping it simple and direct. regarding select, I don’t feel like it add any value...