FlowFuse / FlowFuse/node-red-dashboard
Throttle ResizeObserver to improve performance when handling multiple gauges on lower-powered devices
- Dominant language
- HTML
- Stars
- 355
- Forks
- 82
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 24
Description
### Description
I'm raising this followup task as per the below PR review suggestion made by @Steve-Mcl
Original comment - https://github.com/FlowFuse/node-red-dashboard/pull/1353#pullrequestreview-2359440363
> This all looks good. Thanks for the video demonstration.
> I am however a little concerned about then there are many gauges on a lower powered device. The resize observer runs very fast. e.g:
> 
> Perhaps a follow up issue to throttle the observer just enough to give a little breathing space - perhaps limit updates upon resize to 1 in every 100ms?
> Again, happy for that to be a follow up task - so approving for now.
### Epic/Story
_No response_
### Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.