       # (https://facebook.github.io/react/docs/component-specs.html).
       # we need to update the state with validation results in response
       # to prop changes.
-      console.log 'ComponentLogin', 'componentWillReceiveProps'
-      nextState = getCursorStates nextProps.cursors
-      console.log 'nextState', nextState
-      errors = validateLogin nextState.page.data
-      this.update {page: {errors: {$set: errors}}}
+      # console.log 'ComponentLogin', 'componentWillReceiveProps'
+      # nextState = getCursorStates nextProps.cursors
+      # console.log 'nextState', nextState
+      # we might check if they've actually differed
+      # errors = validateLogin nextState.page.data
+      # if errors
+      # this.update {page: {errors: {$set: errors}}}
     render: ->
       that = this
       console.log 'ComponentLogin', 'render', 'this.state', this.state

  ComponentNavigation
  login
  validateLogin
  getCursorStates
) ->
  React.createClass
    mixins: [Cursors]
    handleChange: (event) ->
      command = {page: {data: {}}}
      command.page.data[event.target.name] = $set: event.target.value
      this.update command
    handleClick: (event) ->
      event.preventDefault()

      console.log 'ComponentLogin', 'componentWillMount'
      this.update {page: {data: {$set: {}}}}
    componentWillReceiveProps: (nextProps) ->
      # after calling `this.update()` in `handleChange` there is no guarantee
      # that `this.state` already reflects our changes.
      # `this.update()` calls `this.setState().
      # `this.setState()` does not immediately mutate `this.state` but
