Components would be best with loosely coupled sections of discrete functionality. But a lot of it is going to be personal taste as well, there’s nothing wrong with using inheritance as in the past. I wouldn’t go back and rewrite anything you have that’s already working unless you can point to a really good compelling reason to do so.