Skip to content

Clarify Turbo vs Turbolinks requirements#5324

Closed
ghiculescu wants to merge 1 commit intoheartcombo:masterfrom
ghiculescu:patch-1
Closed

Clarify Turbo vs Turbolinks requirements#5324
ghiculescu wants to merge 1 commit intoheartcombo:masterfrom
ghiculescu:patch-1

Conversation

@ghiculescu
Copy link
Copy Markdown
Contributor

Follow up to #4678

I spent a long time digging around the Turbo source code looking for a Turbolinks::Controller equivalent while trying to do an upgrade, then I realised is no longer necessary.

Follow up to #4678

I spent a long time digging around the `Turbo` source code looking for a `Turbolinks::Controller` equivalent while trying to do an upgrade, then I realised is no longer necessary.
@entretechno-jeremiah
Copy link
Copy Markdown

Looks like different configuration is necessary for Turbo: How to use Devise with Hotwire & Turbo.js (Example) | GoRails


# ==> Turbolinks configuration
# If your app is using Turbolinks, Turbolinks::Controller needs to be included to make redirection work correctly:
# If your app is using Turbolinks (but *not* Turbo), Turbolinks::Controller needs
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to tell that Turbolinks is different of Turbo? I thought it was clear by the name that requirements for one are different of the other.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it's just me, but I assumed that the requirements would be the same since Turbo (Drive) is being pitched an evolution of Turbolinks.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I'm not mistaken this doesn't even work for current (now deprecated) Turbolinks, but only for Turbolinks Classic.

@ghiculescu
Copy link
Copy Markdown
Contributor Author

I'm gonna close this for now as it looks like it's not that simple, see also hotwired/turbo-rails#34 (cc @bhaibel)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants