Repository: plotly/dash
File: dash/dash-renderer/src/TreeContainer.js (JavaScript)

Code before:
                        extraProps={extraProps}
                        type={_dashprivate_layout.type}
                    />
                ) : (
                    createElement(element, props, extraProps, children)
                )}
            </ComponentErrorBoundary>
        );
    }

    getLayoutProps() {
        return propOr({}, 'props', this.props._dashprivate_layout);
    }

    render() {
        const {
            _dashprivate_error,
            _dashprivate_layout,
            _dashprivate_loadingState,
            _dashprivate_loadingStateHash,
            _dashprivate_path,
            _dashprivate_config,
            _dashprivate_dispatch,
            _dashprivate_graphs,
            _dashprivate_loadingMap,
            ..._dashextra_controlProps
        } = this.props;

        const layoutProps = this.getLayoutProps();

        const children = this.getChildren(
            layoutProps.children,
            _dashprivate_path
        );

        return this.getComponent(
            _dashprivate_layout,
            children,
            _dashprivate_loadingState,
            this.setProps,
            _dashextra_controlProps
        );
    }
}

TreeContainer.propTypes = {
    _dashprivate_error: PropTypes.any,
    _dashprivate_layout: PropTypes.object,
    _dashprivate_loadingState: PropTypes.oneOfType([
        PropTypes.object,
        PropTypes.bool

Review comment (bug):
Look like those variables are not used and fail the linting, maybe disable for that line or use ramda.without to get the rest.

Code after:
                componentId={props.id}
                key={props.id}
                dispatch={_dashprivate_dispatch}
                error={_dashprivate_error}
            >
                {_dashprivate_config.props_check ? (
                    <CheckedComponent
                        children={children}
                        element={element}
                        props={props}
                        extraProps={extraProps}
                        type={_dashprivate_layout.type}
                    />
                ) : (
                    createElement(element, props, extraProps, children)
                )}
            </ComponentErrorBoundary>
        );
    }

    getLayoutProps() {
        return propOr({}, 'props', this.props._dashprivate_layout);
    }

    render() {
        const {
            _dashprivate_layout,
            _dashprivate_loadingState,
            _dashprivate_path
        } = this.props;

        const _extraProps = omit(
            [
                '_dashprivate_error',
                '_dashprivate_layout',
                '_dashprivate_loadingState',
                '_dashprivate_loadingStateHash',
                '_dashprivate_path',
                '_dashprivate_config',
                '_dashprivate_dispatch',
                '_dashprivate_graphs',
                '_dashprivate_loadingMap'
            ],
            this.props
        );

        const layoutProps = this.getLayoutProps();

        const children = this.getChildren(
            layoutProps.children,
            _dashprivate_path