Is it okay to use useInfiniteQuery and useQueries together?
Hello. I created a custom hook that uses both useInfiniteQuery and useQueries. There’s a component that needs to display data fetched with useInfiniteQuery combined with additional data fetched using useQueries, so I wrote it this way.
Is the following implementation of the custom hook a valid approach?
If it is valid, how can I resolve the following error?
[QueriesObserver]: Duplicate Queries found. This might result in unexpected behavior. Error Component Stack
Is the following implementation of the custom hook a valid approach?
If it is valid, how can I resolve the following error?
[QueriesObserver]: Duplicate Queries found. This might result in unexpected behavior. Error Component Stack