This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is.
Post
Akash Manohar
hashnuke.bsky.social
did:plc:oal3hpw4admfvhv4wzurx3dj
One more tip for today 😀
If your Stimulus controller is making an API request in connect(), then ensure to mark the controller element as "data-turbo-temporary".
Else when user navigate to a page, the API request fires twice (reasons below)
https://turbo.hotwired.dev/handbook/building
#Ruby #RubyOnRails
2024-12-02T15:18:28.861Z