May 23, 2021

How to get query string of a current URL in React

Learn to create a custom hook to get query string of a URL in React

Sep 21, 2020

How to get the current URL and pathname in React

In this tutorial, I have discussed different ways to get the current URL and pathname in React - uselocation hook and window.location object