Closed R894 closed 2 months ago
Adds caching to groupByService by adding the react-query package
groupByService
react-query
closes #722
https://github.com/hasadna/open-bus-map-search/assets/54629307/634686af-8a19-403a-9371-cd0de57b3fae
https://github.com/hasadna/open-bus-map-search/assets/54629307/f8be2a07-7212-4f09-a90a-39b5fca95344
Hi @NoamGaash , I've refactored the code the best I can, would be happy if you could review it again
Description
Adds caching to
groupByService
by adding thereact-query
packagecloses #722
screenshots
Before
https://github.com/hasadna/open-bus-map-search/assets/54629307/634686af-8a19-403a-9371-cd0de57b3fae
After
https://github.com/hasadna/open-bus-map-search/assets/54629307/f8be2a07-7212-4f09-a90a-39b5fca95344