React Get Params From Url Functional Component. By using plain js you could use window. location) is there