Skip to content

Completely avoid re-rendering the preview iframe#631

Merged
arunoda merged 1 commit intomasterfrom
avoid-re-rendering-preview
Nov 28, 2016
Merged

Completely avoid re-rendering the preview iframe#631
arunoda merged 1 commit intomasterfrom
avoid-re-rendering-preview

Conversation

@roonyh
Copy link
Copy Markdown
Contributor

@roonyh roonyh commented Nov 28, 2016

When manager re-rendered there is a chance that this component is rerendered. That makes the iframe to load again. So the complete story is re-mounted.

This is not preferred except when changing stories.

The case of changing stories is anyway handled by communicating through the channel. So we don't need to rerender the Preview component at all.

When manager re-rendered there is a chance that this component is
rerendered. That makes the iframe to load again. So the complete story
is remounted. This is not preferred except when changing stories.
@roonyh roonyh force-pushed the avoid-re-rendering-preview branch from d57d124 to 039db5c Compare November 28, 2016 08:38
@arunoda arunoda merged commit ceebfc5 into master Nov 28, 2016
@arunoda arunoda deleted the avoid-re-rendering-preview branch November 28, 2016 08:57
@arunoda
Copy link
Copy Markdown
Member

arunoda commented Nov 28, 2016

Superb.

@shilman shilman added the misc label May 27, 2017
@nx-cloud
Copy link
Copy Markdown

nx-cloud bot commented Jul 22, 2025

View your CI Pipeline Execution ↗ for commit 039db5c

Command Status Duration Result
nx run-many -t build --parallel=3 ✅ Succeeded 1m 18s View ↗

☁️ Nx Cloud last updated this comment at 2025-07-22 18:26:41 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants