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

Convert custom javascript to Hotwire Stimulus controllers #3891

Open
mattlindsey opened this issue May 7, 2023 · 0 comments
Open

Convert custom javascript to Hotwire Stimulus controllers #3891

mattlindsey opened this issue May 7, 2023 · 0 comments

Comments

@mattlindsey
Copy link
Collaborator

mattlindsey commented May 7, 2023

Replace one/some of the other javascript files in app/assets/javascripts (and app/assets/javascripts/global-modules) that use the custom window.WebsiteOne code to define modules.
Convert them to Hotwire/Stimulus controllers like done in these PRs: #3890 and #3892

Read through these to understand Stimulus:
https://stimulus.hotwired.dev/
https://stimulus.hotwired.dev/handbook/introduction

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

No branches or pull requests

1 participant