ilyalesik/react-fetch-hook

If path params is URL, after change URL request don't triggered

ilyalesik opened this issue · 1 comments

Example:

const Component = () => {
    const url = new URL("...");
    url.search = new URLSearchParams(params).toString();

    const result = useFetch(url);

    ...
}

after change params new request don't affected

Fix at v1.2.4