   Cursors
   ComponentRouter
   getCurrentPath
+  ComponentLoadCurrentUser
 ) ->
   React.createClass
     mixins: [Cursors]

    # initial state.
    getInitialState: ->
      {
        # initialize path-cursor
        path: getCurrentPath()
        # this is where page components will put their state
        page: {}

      console.log 'ComponentRoot', 'render', 'this.state', this.state
      reactKup (k) ->
        k.div {className: 'ComponentRoot'}, ->
          # router dispatches on `path` cursor
          k.build ComponentRouter,
            cursors:
              path: that.getCursor('path')
              currentUser: that.getCursor('currentUser')
              page: that.getCursor('page')
              error: that.getCursor('error')

          k.build ComponentLoadCurrentUser,
            cursors:
              currentUser: that.getCursor('currentUser')
              error: that.getCursor('error')
