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

    history.replaceState obj, '', window.location

    unless @props.isUser == false
      console.log 'isUser', @props.isUser
      @socket = @getSocket 'kerplunk'
      @socket.on 'data', (data) =>
        return unless @isMounted()
        if data.state?
          console.log 'set state', data.state
          @setState data.state

    window.addEventListener 'popstate', (e) =>
      console.log 'popstate', history.state
      newState = history.state
      unless newState and Object.keys(newState ? {}).length > 0
        newState = obj

    @setState changedState
    true

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