src/project/FileTreeView.js
function (nextProps, nextState) {
            return nextProps.forceRender ||
                this.props.entry !== nextProps.entry ||
                this.props.extensions !== nextProps.extensions;
        }
function (nextProps, nextState) {
            return nextProps.forceRender ||
                this.props.entry !== nextProps.entry ||
                this.props.extensions !== nextProps.extensions;
        }
function ( nextProps , nextState ) { return nextProps . forceRender || this . props . entry !== nextProps . entry || this . props . extensions !== nextProps . extensions ; }
Thanks to immutable objects, we can just do a start object identity check to know
whether or not we need to re-render.
Thanks to immutable objects we can just do a start object identity check to know whether or not we need to re - render .