How To Write Clean React Components