Class: Components::Todo
- Includes:
- React::Component
- Defined in:
- lib/generators/reactive_ruby/test_app/templates/views/components/todo.rb
Instance Attribute Summary
Attributes included from React::Component
Instance Method Summary collapse
Methods included from React::Component
#_render_wrapper, #component_did_mount, #component_did_update, #component_will_mount, #component_will_receive_props, #component_will_unmount, #component_will_update, #define_state, #deprecated_params_method, deprecation_warning, #emit, included, #initialize, #props_changed?, #should_component_update?, #update_react_js_state, #watch
Instance Method Details
#render ⇒ Object
10 11 12 |
# File 'lib/generators/reactive_ruby/test_app/templates/views/components/todo.rb', line 10 def render li { "#{params[:todo]}" } end |