react-bootstrap-table2
react-bootstrap-table2 copied to clipboard
Warning: Using UNSAFE_componentWillReceiveProps in strict mode
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
Facing the same issue, any updates on progress?
I have the exact same issue. Any updates?
Same here, help
+1 same issue!
Same here. Love this table. Thank you.
hi having the same issue , any updates from this? thanks
Same here!
Please update this :(
Same here!
@AllenFang have you seen the messages ?
same here
same :(
Same here
Hello Any Update on this?
same here.. :(
nothing yet?
Well it's a well-known issue, its either get fixed or the library goes to deprecation
Same here, expecting to hear about it
Also facing the same issue here... Seems like deprecated v1 is more production trustable at this point...
Same heeerreeee
+1
+1
Same issue
same issue here
Looks like this is not supported any more.
+1
My Solution : let's try remove <React.StrictMode> from index.js
@AllenFang any update here? ty
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
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