title: React-router and Link in server side rendering
body: <p>I'm converting a react app to be rendered server-side.</p>
  
  <p>I have things like this:
  <code>
  import React from 'react'
  import R, { Link } from 'react-router'
  console.log("router:", R) // R is undefined!
  class C1 extends React.Component {
    render () {
      return (&lt;Link to="/somewhere"&gt;somewhere&lt;/Link&gt;)
    }
  }
  </code></p>
  
  <p>That used to work, but now <code>react-router</code> is undefined on the server. I have installed it: <code>npm install --save react-router</code>, version ^4.2.0.</p>
  
  <p>How would I make links work with server- and client-side react? I know I can do this: <code>import { NavLink } from 'react-router-dom'</code> and use NavLink instead of Link. However, this results in a server-side call on every click of a link. I'd like client-side react to use perhaps pushstate and not refer to the server after the initial load.</p>