React router V6 how do I set up Route path with multiple :id, some optional – Reactjs
I am using react-router@6 and have a Route that I used in V5. Routes of a vehicles which always accepts one parameter (:id = vehicle id). But also has a second parameter (:date = string in DD-MM-YYYY format that is…