Learn react on railsSort Order

React: Main Navigation Component

In this episode we setup our main nav bar. We also show you a cool new trick that works with React Router 3 and 4. The withRouter decorator that will allow you to access router params inside your component!