diff --git a/src/index.tsx b/src/index.tsx index adbdba4..d45a611 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -170,7 +170,8 @@ export default class VirtualList extends React.PureComponent { } } - componentWillReceiveProps(nextProps: Props) { + // eslint-disable-next-line camelcase + UNSAFE_componentWillReceiveProps(nextProps: Props) { const { estimatedItemSize, itemCount,