react.rb
react.rb copied to clipboard
allow for haml like data: {tag1: "foo", tag2: "bar"} syntax
current you have to write
div "data-tag1" => "foo", "data-tag2" => "bar", "arial-labeledby" => "file-menu"
instead it seems natural to say
div data: {tag1: :foo, tag2: :bar}, arial_labeledby: file_menu
similar to haml.
@catmando are you able to take a stab at this?
yes no problem
This issue was moved to reactrb/reactrb#99