You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this case, append a new item doesn't run the data function. So, it shows the wrong value. Normally, it should run the data function to get a new state.
Solution
Bind key to unique id would solve this problem. For example, in demo1 we can
demo1
demo2
In this case, append a new item doesn't run the
data
function. So, it shows the wrong value. Normally, it should run thedata
function to get a new state.Solution
Bind
key
to unique id would solve this problem. For example, in demo1 we canAnd in demo2, we can
Performance
todo....
Reference
The text was updated successfully, but these errors were encountered: