react-bootstrap-table2 icon indicating copy to clipboard operation
react-bootstrap-table2 copied to clipboard

Warning: Using UNSAFE_componentWillReceiveProps in strict mode

Open jonm01 opened this issue 4 years ago • 69 comments

I keep getting the following error:

index.js:1 Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-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://fb.me/react-derived-state

Please update the following components: BootstrapTable, BootstrapTableContainer, DataProvider

jonm01 avatar Apr 01 '20 01:04 jonm01

Facing the same issue, any updates on progress?

suaterken avatar May 29 '20 15:05 suaterken

I have the exact same issue. Any updates?

vasilismantz avatar Jun 02 '20 15:06 vasilismantz

Same here, help

BartlomiejPawelec avatar Jun 02 '20 16:06 BartlomiejPawelec

+1 same issue!

tnatanael avatar Jun 07 '20 23:06 tnatanael

Same here. Love this table. Thank you.

penneelane avatar Jun 08 '20 02:06 penneelane

hi having the same issue , any updates from this? thanks

jamesdamild avatar Jun 10 '20 15:06 jamesdamild

Same here!

ciacono avatar Jun 17 '20 20:06 ciacono

Please update this :(

BartlomiejPawelec avatar Jun 25 '20 14:06 BartlomiejPawelec

Same here!

paolocattani avatar Jul 28 '20 21:07 paolocattani

@AllenFang have you seen the messages ?

jamesdamild avatar Jul 28 '20 23:07 jamesdamild

same here

akon01 avatar Jul 29 '20 06:07 akon01

same :(

hienx avatar Jul 29 '20 15:07 hienx

Same here

rubiadias avatar Aug 05 '20 20:08 rubiadias

Hello Any Update on this?

ubheamar avatar Aug 07 '20 16:08 ubheamar

same here.. :(

arwanfiles avatar Sep 12 '20 11:09 arwanfiles

nothing yet?

ennerlopez avatar Sep 21 '20 00:09 ennerlopez

Well it's a well-known issue, its either get fixed or the library goes to deprecation

ramyatrouny avatar Sep 27 '20 20:09 ramyatrouny

Same here, expecting to hear about it

AlbertoJALJ avatar Oct 28 '20 20:10 AlbertoJALJ

Also facing the same issue here... Seems like deprecated v1 is more production trustable at this point...

vini-guerrero avatar Nov 02 '20 04:11 vini-guerrero

Same heeerreeee

pebriancharliady avatar Nov 11 '20 14:11 pebriancharliady

+1

cleve avatar Nov 18 '20 13:11 cleve

+1

81mark avatar Nov 22 '20 14:11 81mark

Same issue

smparadeza avatar Dec 08 '20 15:12 smparadeza

same issue here

tongbantin avatar Dec 24 '20 10:12 tongbantin

Looks like this is not supported any more.

protektik avatar Jan 14 '21 09:01 protektik

+1

Mireckk avatar Jan 31 '21 21:01 Mireckk

My Solution : let's try remove <React.StrictMode> from index.js

tongbantin avatar Feb 10 '21 12:02 tongbantin

@AllenFang any update here? ty

duende84 avatar Mar 30 '21 03:03 duende84

https://github.com/react-bootstrap-table/react-bootstrap-table2/issues/1056 - I found this PR which was raised but I think the issue still persists. I too am facing the same issue

shashankbhat10 avatar Apr 06 '21 22:04 shashankbhat10

I use "react-bootstrap-table-next": "^4.0.3" the issue still exists. @AllenFang Is there any plan to fix?

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, SearchBar, SearchProvider, SortProvider, ToolkitProvider

jimjaeger avatar Apr 07 '21 10:04 jimjaeger