Want to try it yourself? A full working demo is here: turbo-advance-vs-replace . Clone it, run bin/setup and follow DEMO.md for more tips.
Turbo Frames are one of the best things about Hotwire. Wrap a part of your page in <turbo-frame> , and navigations inside it become fast partial updates instead of full page reloads. No JavaScript, no API endpoints, just HTML.
But by default frame navigation:
doesn’t touch browser history
doesn’t change the URL
doesn’t create or replace entries
It just fetches HTML and swaps the frame content in place.
Most of the time, that’s perfect. But sometimes you want the URL to reflect state.…