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
{{ message }}
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.
Currently, we are wasting too much time on a snapshot update (around 500ms per update on my machine, even for snapshots without any data changes). The wasted time may be reduced by implementing shouldComponentUpdate hooks for most components.
Also, we should be adding unique keys to component instances. I suggest using the unique object ids already present in the JSON and adding the "@ id" attribute to the TypeScript interfaces.
The text was updated successfully, but these errors were encountered:
We might also consider using immutable.js to easily save more wasted render time in React, as it makes (deep and shallow) comparisons of snapshot elements straightforward and performant.
Currently, we are wasting too much time on a snapshot update (around 500ms per update on my machine, even for snapshots without any data changes). The wasted time may be reduced by implementing shouldComponentUpdate hooks for most components.
Also, we should be adding unique keys to component instances. I suggest using the unique object ids already present in the JSON and adding the "@ id" attribute to the TypeScript interfaces.
The text was updated successfully, but these errors were encountered: