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
I'm using react-tiny-virtual-list to show a list which can be sorted. On sorting the data, there is no effect on the rendered list. But when I scroll, the list gets re-rendered.
The text was updated successfully, but these errors were encountered:
List uses PureComponent, so it only update when it's props change. You can force it to re-render by calling forceUpdate on it or by passing it an extra prop that will change every time your data changes.
I'm using react-tiny-virtual-list to show a list which can be sorted. On sorting the data, there is no effect on the rendered list. But when I scroll, the list gets re-rendered.
The text was updated successfully, but these errors were encountered: