Query params react example. The second method/example is the react-router-dom@5 method.