Using special character like Pound symbol or exclamation mark symbol (# or !) on path of React Router on ReactJS

Asked
Active3 hr before
Viewed126 times

1 Answers

poundexclamationspecialsymbolreactjscharacterrouterreactusing
90%

Is there any way to use the Pound symbol or exclamation mark symbol (# or !) on the path of React Router library on ReactJS. For example: I have routes on App.js , Can a double bar line begin a repeated section? , Jobs Programming & related technical career opportunities ,Find centralized, trusted content and collaborate around the technologies you use most.

Is there any way to use the Pound symbol or exclamation mark symbol (# or !) on the path of React Router library on ReactJS.
For example: I have routes on App.js

<Router>
  <Switch>
    <Route path = "/#!" exact component={home} />
    <Route exact path = "/#!/menu/submenu" component={menu} />
  </Switch>
</Router>
load more v

Other "pound-exclamation" queries related to "Using special character like Pound symbol or exclamation mark symbol (# or !) on path of React Router on ReactJS"