Created
June 12, 2020 03:28
-
-
Save vlrmprjct/7e57f29eab8ac67239e72541e09a7075 to your computer and use it in GitHub Desktop.
ReactJS multiple optional params
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Route path="/section/(page)?/:page?/(sort)?/:sort?" component={Section} /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment