Ian Grainger

Results 15 comments of Ian Grainger

> You're welcome to submit a PR. Do you know what would be a good approach to get from the matcher code back to the selector info? 🤔

I can't think of a way to keep a reference to the selector info without changing the return type of the query to include it - so its accessible to...

Yeah, not sure why this package exists? It doesn't seem to do anything much.

Seems like it's not coming 😔

Oh, OK! The reason I want `useMutation` is to get your consistent `Pending` type around it. So I can check the `.status`. It seems strange for me to re-implement that,...

> Hey, Is there a way to do manual query invalidation like: https://react-query.tanstack.com/guides/invalidations-from-mutations ? It will be nice to be able to refresh specific query or queries after mutation is...

> Can you paste `example code` of how to do what he mentioned ? No, I have no idea why it is easy to hook into the stream and invalidate...

> I have the same requirement. It would be great if we could pass `activeTooltipIndex` or `activeTooltipLabel` as a prop to the `` element. > > My use case is...

> ...because there might be multiple instances. I'm confused by that - do you mean if you run render more than once? In which case, how do the matchers work?...

> This is also the case with when you use the fixture returned by the `render` function, but it doesn't bother me as much because you're rendering that component. Yes...