
Working on a project, I realized that as I was updating my packages, react-router-dom
was updated to version 6.x.x e.g6.0.2
as well.
So, going through the documentation, I realized that in v6, React router now has a helpful custom useSearchParams
hook which is a essentially a small wrapper over browser'sURLSearchParams
…