Atlassian JIRA 7 has a new dependency – Skatejs. This post is not about advantages of the library but side-effect of the last one.
So, this library can be a reason of slow UI rendering, e.g. in JIRA custom fields or any kind of long HTML markup, because Skate listens by default to any DOM node manipulations (creation, deletion).
To avoid slow rendering of long content, it is sufficient to add only “data-skate-ignore” attribute to root element of long HTML content:
<div data-skate-ignore> <!-- long content --> </div>
This attribute prevents content from Skate handling therefore performance of rendering will be increased.