-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: Integrations - Embeddable Pages
-
None
-
Severity 2 - Major
Issue Summary
Re-rendering an <ViewPage> component from @atlaskit/embedded-confluence at a high frequency can cause memory usage in the embedded iframe to grow over time.
Steps to Reproduce
Step 1: Embed a Confluence page via @atlaskit/embedded-confluence.
Step 2: Cause the component to re-render continuously.
Step 3: Leave the page open and observe memory usage growing over time.
Expected Results
Memory usage remains stable.
Actual Results
Memory usage grows continuously while the component re-renders.
Workaround
Avoid unnecessary re-renders of the embedded component. Check that props passed to <ViewPage> (especially object/array props such as style, navigationPolicy, allowedFeatures) are stable across renders.