League interview question

How do you componentize your UI?