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
When a Dialog (Modal) is open in the WebUI (e.g. editing an entity, renaming a customization) the whole screen is still refreshed which is slow and inefficient. It's because of how React renders the nested children in the DOM due to the state changes. The correct way is to enclose the state changes in a separate React component.
Whilst working on this I moved Sensors (Temperature & Analog) to it's own tab, so not in DeviceData anymore. It makes it easier to navigate and the code is much cleaner.
and...I renamed dallas to temperature also in the C code to be consistent with the front-end
When a Dialog (Modal) is open in the WebUI (e.g. editing an entity, renaming a customization) the whole screen is still refreshed which is slow and inefficient. It's because of how React renders the nested children in the DOM due to the state changes. The correct way is to enclose the state changes in a separate React component.
https://www.developerway.com/posts/react-re-renders-guide
The text was updated successfully, but these errors were encountered: