-
Notifications
You must be signed in to change notification settings - Fork 22.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an example of measuring prerendering activations (#36526)
* Add an example of tracking prerendering activations We found some web developers attempting to use the pattern for delaying code during prerendering for tracking prerendering activations, which does not work well. Add an explicit example of how to do the latter. * Apply linter suggestion Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Tracking -> Measuring Co-authored-by: Barry Pollard <[email protected]> * Change wording per Barry's suggestion Co-authored-by: Barry Pollard <[email protected]> * Upate intro to "Preventing code from running during prerendering" Co-authored-by: Hamish Willee <[email protected]> * Move the note between examples Co-authored-by: Hamish Willee <[email protected]> * Remove trailing whitespace Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Also update document.prerendering page * Try to fix the build --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Barry Pollard <[email protected]> Co-authored-by: Hamish Willee <[email protected]> Co-authored-by: Brian Thomas Smith <[email protected]>
- Loading branch information
1 parent
831041c
commit 420ee5d
Showing
2 changed files
with
51 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters