react-bootstrap-table / react-bootstrap-table2

Next Generation of react-bootstrap-table
https://react-bootstrap-table.github.io/react-bootstrap-table2/
MIT License
1.27k stars 431 forks source link

table doesn't rerender on data changes #1409

Open jamesdamild opened 4 years ago

jamesdamild commented 4 years ago

Question Hi there ,are you guys still maintaining this project ? i see that none of the issues have been resolved, I am still pending on some errors so I can finish my project. And also how do I rerender the table when the data is changed ? i have a custom filter developed by me so I can change the data. when I change the data, all the states are updated successfully but the table doesn't rerender , thanks in advance for your help

AllenFang commented 4 years ago

@jamesdamild sorry for lately reply, would you please give a simple and minimal example on codesandbox so that I can help you? thanks

lavania-aditya commented 4 years ago

@jamesdamild don't directly mutate the state, please use immutability in world of react to update the state. https://redux.js.org/recipes/structuring-reducers/immutable-update-patterns