Integration between React Router and React-Bootstrap.
IMPORTANT: instructions below are for projects using React Router v3 and earlier. To find the latest integration package for React Router v4 and later see master branch.
Wrap your React-Bootstrap element in a <LinkContainer> to make it behave like a React Router <Link>:
<LinkContainer to={{ pathname: '/foo', query: { bar: 'baz' } }}>
<Button>Foo</Button>
</LinkContainer>For the equivalent of <IndexLink>, use <IndexLinkContainer>.
$ npm i -S react react-dom react-router react-bootstrap
$ npm i -S react-router-bootstrap@rr-v3
See CONTRIBUTING.