-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow Page Transition with Flash Prevention Plugin #1675
Comments
The behavior is seen with zone.js 0.14.3 |
I can confirm this is happening, we recently upgraded to angular 17. @SanderElias - any planned fixes or recommended workarounds? Seems like an important issue. |
Try downgrading zone.js from 0.14.3 to 0.13.3.
[signature_3039004538]
Bill McGrane
Principal Architect
P (817) 928-1634 | Elevate.com<http://www.elevate.com/>
5080 Spectrum Drive, Suite 200E
Addison, TX 75001
<http://www.elevate.com/>
Privileged and Confidential. This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain privileged and/or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.
From: Hisham A ***@***.***>
Date: Friday, March 29, 2024 at 6:37 PM
To: scullyio/scully ***@***.***>
Cc: Bill McGrane ***@***.***>, Author ***@***.***>
Subject: Re: [scullyio/scully] Slow Page Transition with Flash Prevention Plugin (Issue #1675)
[EXTERNAL EMAIL: Please use caution when opening links and attachments]
I can confirm this is happening, we recently upgraded to angular 17.
@SanderElias<https://github.com/SanderElias> - any planned fixes or recommended workarounds? Seems like an important issue.
—
Reply to this email directly, view it on GitHub<#1675 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AZBIBJW4LBKHAHB7OUMZXEDY2X3MVAVCNFSM6AAAAABCHOBKJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRXHAZDGMBZHE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Thanks @billmcgrane for the message. Angular 17 however requires 0.14.3. I ended up resolving this however. In Angular 17.3, I don't see any flash when moving from static to dynamic site. So there is no need for the flash prevention plugin from what I see. Angular seems to be doing something where it takes over the pre-rendered html without causing flash. It might be related to the non-destructive hydration improvements Angular recently made. |
🐞 Bug report
Description
🔬 Minimal Reproduction
Create Angular 16+ app using scullyio and the flash prevention plugin. Observe the transition time from the prerendered page to the dynamic page generated by the SPA.
💻Your Environment
Angular Version:
Scully Version:
🔥 Exception or Error
The text was updated successfully, but these errors were encountered: