app/views/topics/show.html.erb
<% presenter = Topics::ShowPresenter.new(self, @topic) %>
<% content_for(:head) do %>
<title><%= presenter.page_title %></title>
<% end %>
<script type="application/json" id="react-root-data">
<%= presenter.props_to_json.html_safe %>
</script>
<div class="w-full" id="react-root"></div>