You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added params options, so you don't have to write search string by hand (you can have many typos!).
// beforeconst{ data }=useFetch(`/foo/bar?page=${page}&pageSize=${pageSize}`);// nowconst{ data }=useFetch('/foo/bar',{params: { page, pageSize }});
Normalize url internally to avoid duplicated records in store. For example, /foo/bar/?b=2&a=1&c=
will be normalized to /foo/bar?a=1&b=2. (Search params are sorted and ending slashes are trimed)