code: function (e) {
              // If we're renaming, allow the click to go through to the rename input.
              if (this.props.entry.get("rename")) {
                  e.stopPropagation();
                  return;
              }
  
              if (e.button !== LEFT_MOUSE_BUTTON) {
                  return;
              }
  
              if (this.props.entry.get("selected") && !e.ctrlKey) {
                  if (this.state.clickTimer === null && !this.props.entry.get("rename")) {
                      var timer = window.setTimeout(this.startRename, CLICK_RENAME_MINIMUM);
                      this.setState({
                          clickTimer: timer
                      });
                  }
              } else {
                  this.props.actions.setSelected(this.myPath());
              }
              e.stopPropagation();
              e.preventDefault();
          }
docs: When the user clicks on the node, we'll either select it or, if they've clicked twice
  with a bit of delay in between, we'll invoke the `startRename` action.