Skip to content
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

Upgrade app to Hotwired #761

Closed
jim opened this issue Oct 6, 2021 · 1 comment
Closed

Upgrade app to Hotwired #761

jim opened this issue Oct 6, 2021 · 1 comment
Assignees
Labels
📦 Dependency Update Updating one or more dependencies ⚡ Power 2021 ⚡

Comments

@jim
Copy link
Member

jim commented Oct 6, 2021

Is your feature request related to a problem? Please describe.

The app is using an older (and now discontinued) version of Stimulus. We’d like to upgrade the app to the newer version and make it otherwise compatible with Hotwired.

Specifically, we have some custom “portal rendering” code (controller code, Stimulus controller) that can probably be replaced with the new Turbo library. Ideally we’d like to use Rails conventions and not maintain our own custom code in order to replace parts of pages.

Describe the solution you'd like

  • Upgrade the version of Stimulus in the app to the latest Hotwired version.
  • Replace our custom Portal rendering Ruby and Javascript code with Turbo.

Describe alternatives you've considered

  • We could do nothing, but as time goes on the cost involved in moving to newer versions of Stimulus will only grow.
  • We could stitch to a different JavaScript library for our JavaScript components (such as htmx or Alpine), but that moves us farther from Rails conventions.
    A clear and concise description of any alternative solutions or features you've considered.
@jim
Copy link
Member Author

jim commented Jan 15, 2024

Most of this work was pulled in as a part of #1181.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 Dependency Update Updating one or more dependencies ⚡ Power 2021 ⚡
Projects
Status: Done
Development

No branches or pull requests

2 participants