src/project/FileTreeView.js
function (nextProps, nextState) {
            return nextProps.forceRender ||
                this.props.contents !== nextProps.contents ||
                this.props.sortDirectoriesFirst !== nextProps.sortDirectoriesFirst ||
                this.props.extensions !== nextProps.extensions;
        }
function (nextProps, nextState) {
            return nextProps.forceRender ||
                this.props.contents !== nextProps.contents ||
                this.props.sortDirectoriesFirst !== nextProps.sortDirectoriesFirst ||
                this.props.extensions !== nextProps.extensions;
        }
function ( nextProps , nextState ) { return nextProps . forceRender || this . props . contents !== nextProps . contents || this . props . sortDirectoriesFirst !== nextProps . sortDirectoriesFirst || this . props . extensions !== nextProps . extensions ; }
Need to re-render if the sort order or the contents change.
Need to re - render if the sort order or the contents change .