I'm testing out the Turbo Frames and so far the frame works as described in the documentation.
// First Page
= turbo_frame_tag "main" do
%p Testing Turbo Out
link_to "Test it", other_page_path
// Other View
= turbo_frame_tag "main" do
%p is this thing on?
Clicking the link on the first page replaces the content in that frame with what was in the other file.
However, if I ask the browser to do a full page reload, it reverts back to the original frame and doesn't display the one it was replaced with when the page is re-rendered.
If I want the full page to retain what it currently has if someone needs to hit the browser re-fresh, do I need to instead use turb streams?
I'm testing this out as a way to build a sidebar navigation that replaces the content area. So as this currently stands, if a full page browser refresh is requested, it reverts back to what the page displayed when first rendered.