Trying to understand RTK Query and how to use it optimally in a React app.
I have a Search
component in one part of my application. When a search is executed, I want the results to appear in another area, far away in the component tree.
All the examples I've seen in the docs immediately returns the rendered result which isn't possible if the Search
and Result
components are not co-located. Is it bad practice or missing the point of RTK Query if I parse the result to the store?