Is there a way to useParams() in a class in v6 of react-router-dom? - Kevin Powell - Community