We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version: .beta5
.beta5
if (isPreview) { this.element.setAttribute("data-turbo-preview", ""); } else { this.element.removeAttribute("data-turbo-preview"); }
I've put a breakpoint at the first statement. When there is a page cached, I can see two renders:
isPreview
From the code, I think this is a bug, or I have missed additional instructions to enable the preview.
no-preview
Is there anything I can provide to aid with determining what the issue is?
The text was updated successfully, but these errors were encountered:
Tracked by hotwired/turbo#159; should be fixed by hotwired/turbo#162 and hotwired/turbo#169.
This issue can be closed when released.
Sorry, something went wrong.
Closing as its tracked at the source.
No branches or pull requests
Version:
.beta5
I've put a breakpoint at the first statement. When there is a page cached, I can see two renders:
isPreview
is falseisPreview
is false (as expected).From the code, I think this is a bug, or I have missed additional instructions to enable the preview.
no-preview
set (I would not expect the first render to begin with)Is there anything I can provide to aid with determining what the issue is?
The text was updated successfully, but these errors were encountered: