fac18 / joy

An efficacy tool to demonstrate the impact of key services
https://team-joy.herokuapp.com/
1 stars 2 forks source link

Style declaration conventions #84

Closed samjam48 closed 4 years ago

samjam48 commented 4 years ago

Generally, a style object is always declared after the component rather than before it. Not sure why but it's just a thing that people do.

I guess it's nice to just read the important stuff about the code and then look at style if you need to.

I might be completely wrong on this but every piece of React I've used so far has been in that order.