我的rails应用程序使用react-rails,并将我的项目部署到Heroku。并成功完成。但是我无法连接Heroku上的项目。它显示错误页面。所以我查了一下heroku的日志。 2017-09-23T15:11:19.654651+00:00 app[web.1]: Started GET "/" for 31.200.230.123 at 2017-09-23 15:11:19 +0000
为了引导我的问题,我遵循this指南。 当尝试使用Rails建立一个CRUD接口和反应,我收到this错误试图创建一个新的项目时: addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a comp