Skip to content

Commit

Permalink
Update turbolinks.md
Browse files Browse the repository at this point in the history
  • Loading branch information
justin808 authored Aug 20, 2024
1 parent 438dfdd commit 4cdc686
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions docs/rails/turbolinks.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
# Turbolinks and Turbo
# Turbolinks and Turbo Support

## Updated to support Turbo
## React on Rails Updated to support Turbo, August 2024
* See [PR 1620](https://github.com/shakacode/react_on_rails/pull/1620).
* See [PR 1374](https://github.com/shakacode/react_on_rails/pull/1374).
* Ability to use with Turbo (@hotwired/turbo), as Turbolinks gets obsolete.

To configure turbo the following option can be set:
# Using Turbo

To configure Turbo the following option can be set:
`ReactOnRails.setOptions({ turbo: true })`

Turbo is not auto-detected like older Turbolinks.

*Below docs maybe outdated*
_TODO: Walk through code changes in PR 1620._

# Legacy Turbolinks
*The below docs may be outdated. We recommend updating to the latest Turbo or removing old Turbolinks.*

* See [Turbolinks on Github](https://github.com/rails/turbolinks)
* React on Rails currently supports 2.5.x of Turbolinks and 5.0.0 of Turbolinks 5.
Expand Down

0 comments on commit 4cdc686

Please sign in to comment.