block
by
drnic
b1987712713906b99f5e1357d6063909
In Rails apps using StimulusJS, load React components found at app/javascript/react/*/index.tsx, and make them available via Ruby helper react(name)
index.html.erb
Hello.tsx
react_controller.js
react_helper.rb
send_react_component.turbo_stream.erb