 React = require 'app/react'
 kd = require 'kd'
+
+debug = require('debug')('compute:connect')
 
 # FIXME: so naive, but works for now.
 makeSingular = (plural) -> plural.slice 0, -1


      return  unless @_mounted


      @setState makeState config, @props



      computeController.storage.off 'change', @bound 'onStorageUpdate'

      debug 'componentWillUnmount'

      Object.keys(@events).forEach (eventId) =>
        computeController.off eventId, @events[eventId]
        delete @events[eventId]
