src/project/FileTreeView.js
function (nextProps, nextState) {
            return nextProps.forceRender ||
                this.props.treeData !== nextProps.treeData ||
                this.props.sortDirectoriesFirst !== nextProps.sortDirectoriesFirst ||
                this.props.extensions !== nextProps.extensions ||
                this.props.selectionViewInfo !== nextProps.selectionViewInfo;
        }
function (nextProps, nextState) {
            return nextProps.forceRender ||
                this.props.treeData !== nextProps.treeData ||
                this.props.sortDirectoriesFirst !== nextProps.sortDirectoriesFirst ||
                this.props.extensions !== nextProps.extensions ||
                this.props.selectionViewInfo !== nextProps.selectionViewInfo;
        }
function ( nextProps , nextState ) { return nextProps . forceRender || this . props . treeData !== nextProps . treeData || this . props . sortDirectoriesFirst !== nextProps . sortDirectoriesFirst || this . props . extensions !== nextProps . extensions || this . props . selectionViewInfo !== nextProps . selectionViewInfo ; }
Update for any change in the tree data or directory sorting preference.
Update for any change in the tree data or directory sorting preference .