module Isomorfeus module ReactViewHelper def mount_component(component_name, props = {}, asset = 'application_ssr.js') render_result = "
" render_result << rendered_tree else render_result << '>' end render_result << '
' render_result end end end