code: function (nextProps, nextState) {
              return nextProps.forceRender ||
                  this.props.contents !== nextProps.contents ||
                  this.props.sortDirectoriesFirst !== nextProps.sortDirectoriesFirst ||
                  this.props.extensions !== nextProps.extensions;
          }
docs: Need to re-render if the sort order or the contents change.