React-bootstrap-table2: Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.

Created on 21 Jan 2021  路  1Comment  路  Source: react-bootstrap-table/react-bootstrap-table2

Describe the bug
index.js:1 Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.

  • Move data fetching code or side effects to componentDidUpdate.
  • If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state

Please update the following components: BootstrapTable, BootstrapTableContainer, DataProvider, PaginationDataProvider, PaginationHandler

Most helpful comment

Is there any news on this? I'm also receiving this warning.

>All comments

Is there any news on this? I'm also receiving this warning.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cnav007 picture cnav007  路  4Comments

josefheld picture josefheld  路  3Comments

eylonronen picture eylonronen  路  3Comments

imtmh picture imtmh  路  3Comments

harishkumarreddy12 picture harishkumarreddy12  路  3Comments