What is proper way to re-render an item from an observable list? #1428
Replies: 3 comments
-
|
observeWithColumns is your solution check it out in docs |
Beta Was this translation helpful? Give feedback.
-
|
Are you sure it doesnt get triggered? From what I have seen wm triggers the observed queries every time something change in the desired table. I think its more of a thing in how react compares lists changes as props. |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The above code works well for adding and removing, however, if I update the item within this list, it will not get updated until I refresh the screen.
I think one way is to subscribe to this item on the item component level.
Will it causes performance problem for a large list, it is sort of a double subscription in which the list subscribed once, and subscribed again at the item level.
Beta Was this translation helpful? Give feedback.
All reactions