Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Using with Ruby on Rails

Gabriel Sobrinho edited this page Jun 7, 2016 · 1 revision

You need to enable stage-1 to be able to use static declaration:

module Example
  class Application < Rails::Application
    config.react.jsx_transform_options = {
      stage: 1
    }
  end
end
Clone this wiki locally