ml-auto is not pushing navbar links to the right
For Bootstrap-5 we have to use ms-auto instead of ml-auto
For Bootstrap-5 we have to use ms-auto instead of ml-auto
This is the code which causing the error, <NavLink href=”#x”><Link id=”RouterNavLink” style={None} to=”/contact”>anywords</Link></NavLink> Which is converted to, <a><a></a></a> So you are getting error, Warning: validateDOMNesting(…): <a> cannot appear as a descendant of <a> To solve this just use one of the follow, <NavLink id=”RouterNavLink” style={None} to=”/contact”>anywords</NavLink> OR, <Link id=”RouterNavLink” style={None} to=”/contact”>anywords</Link>
I have been struggling with this myself and it is as @Besart Marku says, highly opinion based. One thing that did make a diffirence for me is that reactstraps documentation uses state in alot of its code examples: import React from ‘react’; import { Button, Modal, ModalHeader, ModalBody, ModalFooter } from ‘reactstrap’; class ModalExample extends … Read more