Some documentation would be nice
JackPhantom242 opened this issue · comments
Everyone is saying to use this and importmaps for Rails 7, replacing code bases that use react-rails or react-on-rails.
The pattern many of these projects have is: within an html file to have
<%= react_component("MyComponent", props: { foo: true}" %> etc.
how you put a component in a WEB PAGE once you've "htmmed" this would be great, not "oh we can write something in a completely empty html page and totally replace the contents with javascript."
You would do a great service to a community being steered to this project by explaining how to use it.