var React = require('react')
var { RouteHandler, Navigation } = require('react-router')

var App = React.createClass({
  mixins: [Navigation],

  hi() {
    this.transitionTo('hello')
  },

  time() {
    this.transitionTo('time')
  },

  render() {
    return (
      <div>
        <a href="#" onClick={this.hi}>Say hi</a>
        <br />
        <a href="/time" onClick={this.time}>What time is it?</a>
        <br />
        <RouteHandler {...this.props} />
      </div>
    )
  }
})

module.exports = App

var React = require('react')
var { RouteHandler, Link } = require('react-router')

var App = React.createClass({
  render() {
    return (
      <div>
        <Link to='hello'>Say hi</Link>
        <br />
        <Link to='time'>What time is it?</Link>
        <br />
        <RouteHandler {...this.props} />
      </div>
    )
  }
})

module.exports = App

Fix link to `hello`, using `Link` components from `react-router`
Fix link to `hello`, using `Link` components from `react-router`
