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
The amount of material is updated every second, which makes React recalculate the DOM too many times. The context should only provide the last update timestamp and the production rate. The final amount is then only calculated locally in the component that needs it.
The text was updated successfully, but these errors were encountered:
The amount of material is updated every second, which makes React recalculate the DOM too many times. The context should only provide the last update timestamp and the production rate. The final amount is then only calculated locally in the component that needs it.
The text was updated successfully, but these errors were encountered: