Data is automatically updating #149
ikbal-nayem
started this conversation in
General
Replies: 1 comment
-
Hi @ikbal-nayem you have to make deep copy of the array
Or like this https://javascript.plainenglish.io/how-to-deep-copy-objects-and-arrays-in-javascript-7c911359b089 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Whenever I make a copy of
tableProps.data
and change some value of that copied data thentableProps.data
values are also change. And vice-versaI tried this also,
const data = [...tableProps.data]
But no luck :(
How can I make an individual copy of
tableProps.data
Beta Was this translation helpful? Give feedback.
All reactions