Eduardo San Martin Morote
Eduardo San Martin Morote
Thanks for the report. If you could you boil it down to a unit test and open PR, that would be perfect!
It could be an HMR bug. I think it should still be reproductible without data loaders
It's indeed an HMR bug. It comes from https://github.com/posva/pinia-colada/blob/main/src/query-store.ts#L564. The check is not enough. I think there should be a more complex collection, probably including the `uid` of the current...
I would say having a function gives you the flexibility of ordering the nodes however you want but I'm not sure if this was intended
Is this related to #870 ? We could expose the symbol as an internal property (could change between versions) and it would fix your issue but note that it would...
You can do that with definePage
I'm still collecting feedback on this method. I'm sure it will change a lot in the near future so I would recommend not to support it yet. Currently the approach...
@lewebsimple Isn't that exactly what the current `useInfiniteQuery()` does? To me it still feels a bit limited, so I exposed it as experimental to get more feedback on it 😄
Oh I see what you mean! You could indeed transform the data before returning it in query but it would lack the other methods (as you noted)
@Butch78 doesn't that work already if you pass a function to `key`: `key: () => ['feed', queryParams]`?