reactjs get url query params as object
By Kathryn Wuckert at Apr 19 2021
object params to url
By Tommy Terry at Dec 28 2020