We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
purescript-react is v5.1.0
When I declare my own tag name by this command:
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:
class
Warning: Invalid attribute name: `0` warning.js:33
The text was updated successfully, but these errors were encountered:
Maybe I misunderstood something? I just used
mkDOM (IsDynamic false) "my-own-tag-name" [class "container"]
instead and it works.
Sorry, something went wrong.
I think I get it, createElementTagName is free to put anything as props, so I put array when I supposed to put a record, am I right?
createElementTagName
Yes, you're correct. The props would have to be a record in this case.
No branches or pull requests
purescript-react is v5.1.0
When I declare my own tag name by this command:
And then when its rendered I got this tag in DOM tree but without
class
attribute and I see this warning in log:The text was updated successfully, but these errors were encountered: