I am using react-rails
gem in order to use React within Rails. Since I upgraded react-rails
gem version to 2.0.2
, it started giving me warning
application-0a65875….js:1842 Warning: It looks like you're using a minified copy of the development build of React. When deploying React apps to production, make sure to use the production build which skips development warnings and is faster...
Inside config/environments/production.rb
, I have
config.react.variant = :production
Any idea how to fix this?