reactjs/react-rails

Rails 7.1 Renders Partial Header

timscott opened this issue · 1 comments

Steps to reproduce

Upgrade Rails to 7.1

Expected behavior

Don't render header as text

Actual behavior

After upgrading to Rails 7.1 routes rendering views with = react_component are rendering the beginning part of the associated master as plain text at the top of the body and before the pack script tag. It appears to be rendering the layout template up to the line that yields the content.

System configuration

  • sprockets (4.1.1)
  • sprockets-rails (3.4.2)
  • react-rails (2.6.2), react-rails (3.1.1)
  • react_ujs@3.1.1
  • rails (7.1.2)
  • ruby 3.2.0