Sha256: 5067d36d8af3e2b5939967cb01c3c479cbaba930ba251978e499bdb28a3aa79e

Contents?: true

Size: 363 Bytes

Versions: 5

Compression:

Stored size: 363 Bytes

Contents

require 'user'
class AnotherComponent
  
  include React::Component
  
  export_component
  
  required_param :user, type: User
  
  backtrace :on
  
  def render
    div do
      "#{user.name}'s todos:".br
      ul do
        broken!
        user.todo_items.each do |todo|
          li { TodoItemComponent(todo: todo) }
        end
      end
    end
  end
  
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hyper-mesh-0.5.3 reactive_record_test_app/app/assets/javascripts/components/another_component.rb
hyper-mesh-0.5.2 reactive_record_test_app/app/assets/javascripts/components/another_component.rb
hyper-mesh-0.5.1 reactive_record_test_app/app/assets/javascripts/components/another_component.rb
hyper-mesh-0.5.0 reactive_record_test_app/app/assets/javascripts/components/another_component.rb
hyper-mesh-0.4.0 reactive_record_test_app/app/assets/javascripts/components/another_component.rb