-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Description
💡 Feature request
Is your feature request related to a problem? Please describe
Currently query params are required to be in the same order for a cache hit.
The following calls will not be considered the same and will result in unexpected cache misses:
useFetchye('https://test.com/some-path?a=1&b=2')
useFetchye("https://test.com/some-path?b=2&a=1')
Example
Oder of query params should not matter.
useFetchye('https://test.com/some-path?a=1&b=2')
and useFetchye('https://test.com/some-path?b=2&a=1')
will use the same cache entry