React query calling api each time and not caching
Hi ! I don't understand why react query not caching the data . I am trying to loop though array inside filter component.
to show select fields and to fetch those selectiing items data for different fields I am using react-query.
each time i open the filter it refech the data.
thanks.
to show select fields and to fetch those selectiing items data for different fields I am using react-query.
each time i open the filter it refech the data.
thanks.
