Mark Erikson

Results 1264 comments of Mark Erikson

I still don't understand what this "key" thing is you're proposing. I don't know what the intended semantics are, and I don't know what purpose it's supposed to serve. I...

I don't like this idea of doing `adapter.key().setAll()`. That seems like a completely different API approach than what we have now, and I don't think it's solving anything useful.

My inclination at this point would be to see if we can leverage that https://github.com/corps/redux-indexers package linked in the original comment. If we did, we'd probably port the logic over...

@lukeramsden : so I've got something sorta-kinda working over in #948 . Would appreciate it if you could try out installing the build from CodeSandbox CI in that PR, and...

_Years_ later, just saw something vaguely related and throwing it in here just because it could maybe someday be an inspiration: this Rust package has some similarities to `createEntityAdapter`, and...

@alinnert What do you mean "cannot access"? Usage _should_ be `UseQueryHookResult`.

No, you're making this a lot more complicated than it needs to be :) It's whatever data type _your_ hook returns. Like, for a `getPokemon` endpoint / hook, it'd be...

Whoops, my bad! That's what I get for trying to answer this without looking at the code :)

Should be live in https://github.com/reduxjs/redux-toolkit/releases/tag/%40rtk-query%2Fcodegen-openapi%402.0.0-alpha.0 ! Please try it out and let us know if it works.

I'm not sure I understand what the actual complaint or "bug" is here. Is it the general principle that "many calls to the same memoized function return the same reference",...