nataki / crew-management-app

Test app - React/Redux/Flow
0 stars 0 forks source link

What do you think about CSS-in-JS? #1

Open beleran opened 6 years ago

beleran commented 6 years ago

https://github.com/nataki/crew-management-app/blob/504f68315f2ad28c9567cf7a64abc84d0bbc6cd1/src/components/UserCard/UserCard.js#L8

How this code can be improved in order to be more readable

nataki commented 6 years ago

Using and an "indexer property": classes: {[string]: string }