Module: React

Defined in:
lib/react/server_rendering/exec_js_renderer.rb,
lib/react/jsx.rb,
lib/react/jsx/template.rb,
lib/react/rails/engine.rb,
lib/react/rails/railtie.rb,
lib/react/rails/version.rb,
lib/react/server_rendering.rb,
lib/react/rails/view_helper.rb,
lib/react/jsx/jsx_transformer.rb,
lib/react/rails/asset_variant.rb,
lib/react/jsx/babel_transformer.rb,
lib/react/rails/component_mount.rb,
lib/react/rails/controller_lifecycle.rb,
lib/generators/react/install_generator.rb,
lib/generators/react/component_generator.rb,
lib/react/server_rendering/sprockets_renderer.rb

Overview

Extends ExecJSRenderer for the Rails environment

  • builds JS code out of the asset pipeline

  • stringifies props

  • implements console replay

Defined Under Namespace

Modules: Generators, JSX, Rails, ServerRendering