Respected sir , I have to Use (react-scroll) (react-router) both
in same component but problem is both have Link
Example :-
import {Link} from "react-scroll";
import { BrowserRouter as Router, Link } from "react-router-dom";
My Question is , here I import Link twice , so how to use both Link in same component ,
can i write alias name of Link or Any Alternative of Link is possible
Example :-
import {Link as scrollLink} from "react-scroll";
<pre><code><scrollLinkto={menu.children}>{menu.children}</scrollLink>
</code>
Пожалуйста, помогите мне, сэр, я новичок в reactjs.