Hey. Have you encountered ReactJS already? API it is essentially nothing but classes, although they are called components. When you follow best practices, you never need to inherit from one of your components. All your components are simple descendants of a single Component class. It’s is composition in end of course, but classes definitely have got it’s reason there. Especially ES6 classes fits perfectly in there.