DEV Community

Discussion on: An easy way to create a customize dynamic table in react js

Collapse
 
abdulbasit313 profile image
Abdul Basit

How you are adding new data? you just need to use spread operator if you are adding data locally. like [...oldState, newObj]