Skip to content

discussions Search Results · repo:posva/pinia-colada language:Vue

122 results
 (95 ms)

122 results

inposva/pinia-colada (press backspace or delete to remove)

My project is divided into an API layer, a store layer, and a UI layer, with pinia-colada used only in the store layer. I ve found that directly modifying queries is much simpler to write compared to useMutation. ...

The problem I m not 100% sure how to fix this correctly, but here is my understanding of the expected flow: - for pagination 1) The user is on the Project 1 page. 2) The user changes the pagination ...

Will this project work and take advantage of the coming vapor mode?

@pinia/colada-plugin-retry is very useful, but I wonder if there is a way to show the error only after all retries have failed. It would be very useful in case of temporary network failures. For example, ...

Description I noticed an issue when manually seeding the cache using setQueryData: the data is immediately marked as stale, even though it has just been set. This makes it difficult to preload data and ...

IUUC refetchOnWindowFocus refetches not only active queries but also inactive ones. This results in unnecessary network requests when the browser tab regains focus, such as queries belonging to components ...

Hello there, I wrote function handling the errors from my api and i would like to use it s return value to set the error returned by mutation composable. How can i achieve that? I ve tried returning the ...

I am looking at https://pinia-colada.esm.dev/guide/paginated-queries.html#Infinite-scroll while also trying to implement it in my code, i have Pinia Colada version 0.21.2, but it seems the documentation ...

Problem: Currently, disabled queries default to a success status. Additionally, there is no public property in the UseQueryReturn object to check if a query is currently enabled or disabled. This makes ...

Hey. I m removing things on the page, and I want to simply remove a cache entry by a specific key. At the moment, it s possible by getting all entries by key using cache.getEntries() and then removing ...