UPDATE: Readme file update with specificity,Responsiveness and common pitfalls#3053
UPDATE: Readme file update with specificity,Responsiveness and common pitfalls#3053Sandhya-Madhuri wants to merge 1 commit intoairbnb:masterfrom
Conversation
| button: { | ||
| color: "red", | ||
| }, | ||
| specialButton: { |
There was a problem hiding this comment.
why is this an improvement? .specialButton targets a class, and specialButton targets a nonexistent tag name. did you mean 'button.specialButton'?
There was a problem hiding this comment.
specialButton in the second is just a property to styles. It is not a class we pass it using styles.specialButton. It is a css-in-js syntax
There was a problem hiding this comment.
can you elaborate? I’m not familiar with any css-in-js solution that conflates tag names and class names in this way.
| button: { | ||
| color: "red", | ||
| }, | ||
| specialButton: { |
There was a problem hiding this comment.
| specialButton: { | |
| 'button.specialButton': { |
| buttonActive: { | ||
| color: "green", | ||
| }, | ||
| buttonInactive: { |
There was a problem hiding this comment.
again, should these be class names?
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
No description provided.