Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <% content_for :title do %>
- Hello World!
- <% end %>
- <% content_for :javascript do %>
- <%= javascript_include_tag 'application' %>
- <% end %>
- <% content_for :main do %>
- <h1>Hello World</h1>
- <%= react_component("HelloWorldApp", props: @hello_world_props, prerender: false) %>
- <% end %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement