3 ms·
I'm curious how this is different from Turbolinks, which was been available since rails 3.
by poxrud 6y ago
I'm curious how this is different from Turbolinks, which was been available since rails 3.
- staticelf 6y agoTurbolinks afaik, loads a larger part of a page upon hover and click, replacing all of the old html while this only updates the parts that has needs updating. This will prevent forms from being cleared or other state in the DOM to be wiped.
- werdnapk 6y agoExactly. Targeting specific sections of the page is pretty helpful when dealing with dialog content for example. If a dialog is open and you're managing something like the state of a form within that dialog, you don't want anything else outside of that dialog content being touched during a page update.
- latortuga 6y ago"Turbo Drive", one of the parts of Hotwire, is a rebranding of Turbolinks. So it's new functionality on top of Turbolinks.