RTK Query Endpoint Selectors with Arguments
Sometimes the obvious isn’t. The Redux team helped me find the answer.
Published in
5 min readAug 18, 2022
I’ve said before that I think that RTK Query helps a lot with the problems created by React hooks, primarily by doing so much for you that you don’t need to pass small pieces of state back and forth in useMemo
, useEffect
, and useState
. So I’ve been diving into it fairly…