Skip to content

Commit 3f49417

Browse files
committed
Add explainer note to page state section.
1 parent c224d2e commit 3f49417

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,10 @@ The code above will be expanded to this HTML.
530530
</details>
531531
```
532532

533+
If the user closes the details element and invokes a command or performs a request,
534+
the server will pre-render the markup with the current page state preserving the `open` attribute value.
535+
_The client also ensures that remembered attributes are restored after DOM mutations._
536+
533537
Several things happen when you use `turbo_boost[:remember]` to track page state.
534538

535539
1. The client builds the current page state before emitting requests to the server.

0 commit comments

Comments
 (0)