## Problem In Rails 7, I got an "`ActionView::MissingTemplate Error`" error when I try to use jbuilder as described in the following document. https://github.com/shakacode/react-webpack-rails-tutorial/blob/master/docs/jbuilder.md ## Solution ❌ Not working ```erb <%= react_component('App', props: render(template: "/comments/index.json.jbuilder")) %> ``` ✅ Working ```erb <%= react_component('App', props: render(template: "/comments/index", formats: :json)) %> ``` ## Ref https://stackoverflow.com/a/74683089/6037441