Scott's Recipes Logo

Working the hotrails.dev tutorial - Chapter 4 Turbo Frames

As noted in part 1 of this blog series, I am working thru the HotRails.dev tutorial and building a set of personal notes.

Note: Don’t read this; this is my learning notes. Go read HotRails.dev which is an ASTONISHINGLY GOOD, FANTASTIC, WONDERFUL tutorial. Seriously. Go there NOW and stop reading this.

Notes on Chapter 3 – Turbo Frames

Turbo Frames are independent pieces of a web page that can be appended, prepended, replaced, or removed without a complete page refresh and WITHOUT writing a single line of JavaScript!

The rules for Turbo Frames. THESE RULES APPLY TO BOTH LINKS AND FORMS!!!

When using the “_top” keyword, the URL of the page changes to the URL of the target page, which is another difference from when using a regular Turbo Frame.