So, I'm new to ReactJS.
For an app using react-router, I am attempting to create an external link using react-bootstrap's NavItem. When selected, NavItem does not take me to the address defined in its href attribute. The address is displayed in the browser when hovering over.
To my understanding, navigating routes requires the usage of Link/LinkContainer components, but cannot be used for external links.
How do I accomplish external links with NavItems?
<Navbar inverse collapseOnSelect>
<Navbar.Header>
<Link to="/" className="navbar-brand">Tlmader</Link>
</Navbar.Header>
<Navbar.Collapse>
<Nav>
<LinkContainer to="/about">
<NavItem>About</NavItem>
</LinkContainer>
<LinkContainer to="/projects">
<NavItem>Projects</NavItem>
</LinkContainer>
<LinkContainer to="/photos">
<NavItem>Photos</NavItem>
</LinkContainer>
</Nav>
<Nav pullRight>
<NavItem href="https://github.com/tlmader">GitHub</NavItem>
<NavItem href="#">Link Right</NavItem>
</Nav>
</Navbar.Collapse>
</Navbar>