Using a RTK query, I'm attempting to add infinite scrolling to a Flatlist. How do I integrate the new response with the data that was previously fetched? I must also replace the existing data with the new response upon refetch.
const {data} = usePostQuery();
Is it possible to get the value of data as a combined result of current data with the previous data.