-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
event.persisted for pagereveal event #10311
Comments
What's wrong with using pageshow? |
Apologies if this represents a lack of understanding on my part. I know this event is perhaps exclusively meant for use with view transitions. Lets say somebody needs to inject some critical dynamic content at the top of the page, for example. They want to do that ASAP to avoid layout shift. They might purposefully use a blocking classic inline script, or maybe an inline If you added some dynamic content to the DOM inside of |
Sorry, I can't quite understand how that answered my question... Can you show me what goes wrong with using |
For the use case I mentioned, on an initial page load |
What problem are you trying to solve?
Seeing as this event is fired even when the bfcache is used, doesn't it make sense for the event to have a
.persisted
property? Suggested here.The spec and the Chrome implementation does not include this.
What solutions exist today?
No response
How would you solve it?
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: