react.rb icon indicating copy to clipboard operation
react.rb copied to clipboard

allow for haml like data: {tag1: "foo", tag2: "bar"} syntax

Open catmando opened this issue 9 years ago • 3 comments

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 avatar Dec 11 '15 21:12 catmando

@catmando are you able to take a stab at this?

ajjahn avatar Dec 21 '15 15:12 ajjahn

yes no problem

catmando avatar Dec 21 '15 17:12 catmando

This issue was moved to reactrb/reactrb#99

sollycatprint avatar Jun 13 '16 13:06 sollycatprint