diff --git a/CHANGELOG.md b/CHANGELOG.md index a11dea522..21766c755 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,9 @@ working correctly in certain circumstances when the table contains `readonly` co - [#206](https://github.com/plotly/dash-table/issues/206) Fix a bug with copy/paste to and from column filters not working. +- [#561](https://github.com/plotly/dash-table/issues/561) Fix an incorrect React PureComponent +usage causing warnings in DevTools. + ## [4.4.0] - 2019-10-08 ### Added [#546](https://github.com/plotly/dash-table/issues/546) diff --git a/src/dash-table/components/ControlledTable/fragments/TableTooltip.tsx b/src/dash-table/components/ControlledTable/fragments/TableTooltip.tsx index b1de6fbd0..a699a1597 100644 --- a/src/dash-table/components/ControlledTable/fragments/TableTooltip.tsx +++ b/src/dash-table/components/ControlledTable/fragments/TableTooltip.tsx @@ -1,4 +1,4 @@ -import React, { PureComponent } from 'react'; +import React, { Component } from 'react'; import Tooltip, { ITooltipProps, Arrow } from 'dash-table/components/Tooltip'; import tooltipHelper from 'dash-table/components/tooltipHelper'; @@ -10,7 +10,7 @@ interface IState { cell?: any; } -export default class TableTooltip extends PureComponent { +export default class TableTooltip extends Component { constructor(props: ITooltipProps) { super(props);