When using two separate instances of createSWRInfiniteProxy in a single view without specifying a custom key in the request configuration, there seems to be an issue with key assignment. Both instances appear to share the same key internally, leading to cache-related problems.
When using two separate instances of createSWRInfiniteProxy in a single view without specifying a custom key in the request configuration, there seems to be an issue with key assignment. Both instances appear to share the same key internally, leading to cache-related problems.
E.g:
The userData is the same as medicationsData
Client
When print swr cache the result is:
Code to print:
another print where the cache is saved well but without using inifinite
Packages versions
Thank you very much for your help