Mark Erikson

Results 1264 comments of Mark Erikson

This may be another manifestation of the bug we just found (and hopefully fixed?) in #4650 and #4651 . Could folks try out the PR build from #4651 and let...

Just published https://github.com/reduxjs/redux-toolkit/releases/tag/v2.2.8 containing the fix for this. Let us know if there's any more problems!

Out in https://github.com/reduxjs/redux-toolkit/releases/tag/v2.9.2 !

Can you give an example of this happening?

Out in https://github.com/reduxjs/redux-toolkit/releases/tag/v2.4.0 !

@jshih7 hmm. out of curiosity, if you change that to a `console.trace()`, what's the stack trace that's calling `serializeQueryArgs`?

Ah. I bet it's because we also call it at the hook level, in a `useStableQueryArgs` hook, and we didn't adjust that to check for `skipToken`: https://github.com/reduxjs/redux-toolkit/blob/e848a552dec33c0c55951462c219ad00cb8d3978/packages/toolkit/src/query/react/useSerializedStableValue.ts#L16 that needs to...

@jshih7 : fwiw off the top of my head I think that the `data` behavior _is_ correct. That should always point to the last successful result. If you must have...