jquery-timeago
jquery-timeago copied to clipboard
setInterval will clear itself when element is removed from the DOM
trafficstars
My use-case is an activity feed with only 5 items. However, over the lifetime of the web application, thousands of items pass through the feed.
It was not ideal to have thousands of setInterval calls fire each minute.
Any word on this issue? Single page apps are becoming more common and timeago needs the ability to remove itself.