Closed catmando closed 6 years ago
React::Config.config[:environment] is set in react/config/client.rb.erb
React::Config.config[:environment]
This passes on rails env to client.
This should be responsibility of hyper-config, and should not use ERB.
Looks like is only used in one place: in IsomorphicHelpers in the self.log method to turn off warnings in and info in production.
Moved (and deprecated) the whole environment thing. https://github.com/ruby-hyperloop/hyperloop-config/issues/14
React::Config.config[:environment]
is set in react/config/client.rb.erbThis passes on rails env to client.
This should be responsibility of hyper-config, and should not use ERB.
Looks like is only used in one place: in IsomorphicHelpers in the self.log method to turn off warnings in and info in production.