   componentDidMount: =>
     $(window).on 'throttled-resize.new-discussion', @setTop
     @inputBox?.focus() if @props.autoFocus
-
-
-  componentWillUpdate: =>
-    @cache = {}
 
 
   componentWillUnmount: =>


    @throttledPost = _.throttle @post, 1000
    @handleKeyDown = InputHandler.textarea @handleKeyDownCallback
    @cache = {}

    # FIXME: should save state on navigation?
    @state =


      shownDiscussions = discussions.d0 ? discussions.d100 ? discussions.d1000 ? discussions.other ? []

      @nearbyDiscussionsCache =
        beatmap: @props.currentBeatmap
        timestamp: @state.timestamp
        discussions: _.sortBy shownDiscussions, 'timestamp'

    @nearbyDiscussionsCache.discussions


  onFocus: =>
