Lucas Genzelis

Results 52 comments of Lucas Genzelis

Does anyone know if any progress have been made here?

Same thing here. v.5.0.0 works fine for me, but updating to v5.0.1 throws an error (both locally and in my project github actions CI): ``` Your configFile is invalid: /home/runner/work/my-project/my-project/cypress.config.ts...

I also felt the name `cancelRefetch` was misleading, and it ended up being pretty accurate xD I believe the current behavior is pretty unintuitive, and given that it also doesn't...

I wonder why that condition ( `if (this.state.data !== undefined)` is there in the first place, I can't think of a scenario where this would be desired. Maybe it's there...

> I think it would also be unintuitive if the setting called cancelRefetch would cancel more than a refetch, like also canceling an initial fetch :/ Yes, I totally agree...

Sure! My use case (for invalidation in general) is the same: the BE sends ws messages to the web client, which mark that some data is stale. To use an...

Would you like me to give a PR a go? Or do you prefer to ponder this a bit more first? :)

Thanks for giving it some consideration @TkDodo :) However, I'm still curious and would like to understand the rationale behind the current behavior. Don't you think that having `invalidate` cancel...

Oh, no apologies needed Tk, I just wanted to understand your reasoning :) Makes sense, I understand now why the current behavior might be desirable, my only criticism is that...

For anyone else landing here looking for a solution, here's my `eslint.config.cjs`, which works for me :) ```js const pluginImport = require('eslint-plugin-import'); module.exports = [ { plugins: { import: {...