The useHistory is a Hooks API which exposes a functionality to perform redirect by making use of the history object. If you want the user to be able to use the browser's back button come back to the current webpage; use push(). If you don't want the...
omarsaade.hashnode.dev2 min read
No responses yet.