Middle
2
Implement a `usePage` hook in TypeScript that takes a URL, loads user data, returns `data`, `loading`, and `error`, repeats the request when the URL changes, and correctly cancels the request when the component unmounts or the URL changes.
Companies where asked
RedLab