It may seem simpler since React is only a small part of your front stack.
Pier Bover

P.S. Inheritance is never better than composition. I’ve seen base class components cause lots of problems in lots of projects. FYI, the problems with class inheritance have been well-understood by the OOP community since before JavaScript existed.

For more detail on those problems, read:

Master the JavaScript Interview: What’s the Difference Between Class & Prototypal Inheritance?”

Show your support

Clapping shows how much you appreciated Eric Elliott’s story.