Skip to content
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

Proposal: pass isPreview value into the event detail in render events #926

Merged
merged 1 commit into from Aug 24, 2023

Commits on May 24, 2023

  1. Pass isPreview value into the event detail on 'turbo:before-render' a…

    …nd 'turbo:render' events.
    
    isPreview signifies whether the content currently being rendered is from the turbo cache or not, and this bit of information is very useful for any listeners that might want to act on those two events differently for cached or non-cached content.
    Matt-Yorkley committed May 24, 2023
    Configuration menu
    Copy the full SHA
    d26322d View commit details
    Browse the repository at this point in the history