In this post, we will see how to resolve How to use optional parameter path for routing Question: Using React Router Dom V6 Have MainView that has two optional parameter like, id, this time, “key” is not exist key, this ...