How to structure your React components