react js router
npm install react-router-dom
react router
import {
BrowserRouter,
Switch,
Route,
Link,
useRouteMatch,
useParams
} from "react-router-dom";
ReactDOM.render(
<BrowserRouter>
<React.StrictMode>
<Switch>
<Route exact path="/" component={React_chat_app} />
<Route exact path='/:topicId' component={component0}/>
<Route exact path="/your-url" component={component1} />
<Route component={component2} />
</Switch>
</React.StrictMode></BrowserRouter>,
document.getElementById('demo')
);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us