 
   componentDidUpdate: (prevProps, prevState) ->
     if prevState.currentUrl != @state.currentUrl
+      return
       console.log 'was', prevState.currentUrl
       console.log 'now', @state.currentUrl
 

    obj.globals = @state.globals
    Component = obj.getComponent @state.layoutComponent
    if !Component or !(typeof Component is 'function')
      console.log 'component not found', @state.layoutComponent
      return DOM.div null, 'wat'
    DOM.div null,
      Component obj

    @setState changedState
    true

  pushState: (e, force = false, data) ->
    url = chopUrl e.currentTarget.href
    # console.log 'pushState', url
    try
      navigable = @navigate url
    catch err
