-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename "InstantClick" section #175
Conversation
Turbo's link prefetching implementation is in no way affiliated with the pre-existing [InstantClick][] package. Turbo doesn't have a client-side dependency on the [instantclick package][], nor does it share any code with the [dieulot/instantclick][] repository. With this in mind, this commit removes all mentions of "InstantClick" from the site and renames the heading to "Prefetching Links on Hover". While editing that section, this commit also removes mention of handling `touchstart` events, since those events are not accounted for in the current implementation. [InstantClick]: http://instantclick.io [instantclick package]: https://www.npmjs.com/package/instantclick [dieulot/instantclick]: https://github.com/dieulot/instantclick
@afcapel @davidalejandroaguilar is "Prefetching Links on Hover" a suitable new name for this section? |
@seanpdoyle Hadn't realized we might not want users to think we're affiliated in some way. This makes sense and looks good to me. "Hover" might not be what's always happening (e.g. when we add Let's see what @afcapel thinks. |
Is "Prefetching Links" enough? |
@@ -328,11 +328,11 @@ If the form submission is a GET request, you may render the directly rendered re | |||
|
|||
Servers may also respond to form submissions with a [Turbo Streams](streams) message by sending the header `Content-Type: text/vnd.turbo-stream.html` followed by one or more `<turbo-stream>` elements in the response body. This lets you update multiple parts of the page without navigating. | |||
|
|||
## InstantClick | |||
## Prefetching Links on Hover |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Prefetching Links on Hover | |
## Prefetching Links |
Makes sense, thanks @seanpdoyle! |
Turbo's link prefetching implementation is in no way affiliated with the pre-existing InstantClick package. Turbo doesn't have a client-side dependency on the instantclick package, nor does it share any code with the dieulot/instantclick repository.
With this in mind, this commit removes all mentions of "InstantClick" from the site and renames the heading to "Prefetching Links on Hover".
While editing that section, this commit also removes mention of handling
touchstart
events, since those events are not accounted for in the current implementation.