Is this correct?. A Stimulus controller to use turbo_stream GET requests to avoid updating browser history

Another way to put this is, turbo-frames CAN only update a single page of the page. turbo-streams CAN be used to update more than one part of the page.

I’m not familiar with any suggestions around this being a discouraged pattern. The documentation neither suggests, nor discourages combining them for GET requests.

<turbo-frame id="messages">
   <turbo-stream action="append" target="message_1" />
   <turbo-stream action="replace" target="page-title"/>
</turbo-frame>

Not necessarily.

turbo-frame turbo-stream turbo-stream inside a turbo-frame
Modify Single Element using NON-GET x x
Modify Single Element using GET x x
Modify Multiple Elements using NON-GET x x
Modify Multiple Elements using GET x
1 Like