Closed bensampaio closed 8 years ago
New version 2.1.1 fix that and use now data-push-left/right
.
Is it ok for you?
Thx
It works, but just out of curiosity, why not use classes for this purpose? Wouldn't that be more appropriate since the purpose is styling? Thanks anyway!
I was experimenting with your grid system (which seems to be really cool btw) and found an issue with the attributes
push-left
andpush-right
when used in JSX syntax. According to the React docs "if you pass properties to native HTML elements that do not exist in the HTML specification, React will not render them". For that reason, I would like to know if it is possible to change the approach. Why not use a class? Or an attribute prefixed withdata-
? Thank you!Source: https://facebook.github.io/react/docs/jsx-gotchas.html#custom-html-attributes