lib/react/rails/controller_renderer.rb in react-rails-1.4.1 vs lib/react/rails/controller_renderer.rb in react-rails-1.4.2
- old
+ new
@@ -10,9 +10,9 @@
@__react_component_helper = controller.__react_component_helper
end
def call(name, options, &block)
props = options.fetch(:props, {})
- options = options.slice(:data, :tag).merge(prerender: true)
+ options = options.slice(:data, :aria, :tag, :class, :id).merge(prerender: true)
react_component(name, props, options, &block)
end
end