diff --git a/_source/handbook/02_drive.md b/_source/handbook/02_drive.md index 1316378..ccf7bba 100644 --- a/_source/handbook/02_drive.md +++ b/_source/handbook/02_drive.md @@ -158,13 +158,13 @@ Turbo Drive can be disabled on a per-element basis by annotating the element or Disabled
``` @@ -247,19 +247,37 @@ To accomplish this, just annotate those asset elements with `data-turbo-track="r ```html - ... + ``` +## Removing Assets When They Change + +As we saw above, Turbo Drive merges the contents of the `` elements. When a page depends on external assets like CSS stylesheets that other pages do not, it can be useful to remove them when navigating away from the page. + +Rendering a `` or ` + +``` + +Note that rendering `