I have created a number of widgets for my Dashboard that need to update periodically. When they do this the widget items flicker for a second which I believe will be quite distracting when the dashboard is deployed on a large TV monitor on the wall.
I currently cache what is being sent and compare it to the data fetched on the currented run to ensure the widget is only rerendered when there is a change to the data but as it stands the widget still massively flickers when an update does get put through.
Are there any other techniques to minimise this flickering that I could implement? What are possible causes for the flickering? Is it just the renderer taking it's time with a new set of data?
I'm attempting to use the Coffee script to hide the flicker but am rather unsure of the direction to go in.