ruby-hyperloop/hyper-react

remove dependency on ERB

catmando opened this issue · 1 comments

React::Config.config[:environment] is set in react/config/client.rb.erb

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. ruby-hyperloop/hyperloop-config#14