purescript-react is v5.1.0 When I declare my own tag name by this command: ```purescript createElementTagName "my-own-tag-name" [className "container"] ``` And then when its rendered I got this tag in DOM tree but without `class` attribute and I see this warning in log: ```text Warning: Invalid attribute name: `0` warning.js:33 ```
Activity
unclechu commentedon Feb 15, 2018
Maybe I misunderstood something? I just used
instead and it works.
unclechu commentedon Feb 15, 2018
I think I get it,
createElementTagNameis free to put anything as props, so I put array when I supposed to put a record, am I right?ethul commentedon Feb 24, 2018
Yes, you're correct. The props would have to be a record in this case.