Closed sergei-maertens closed 1 year ago
The fetch-products hook is getting called multiple times and with every additional product, the amount of calls increases.
There's probably something broken in the hooks dependencies.
Maybe this would be the time to introduce tanstack query as it should handle caching/de-duplication out of the box?
The fetch-products hook is getting called multiple times and with every additional product, the amount of calls increases.
There's probably something broken in the hooks dependencies.
Maybe this would be the time to introduce tanstack query as it should handle caching/de-duplication out of the box?