Components are easy. Just write a function...<p>Until you want to automatically unregister event handlers when the component is removed<p>Until you want to compose them and select child and parent components without traversing the DOM<p>Until you want to pass options to the components in various ways, and have default values for them<p>Until you want to store component state and re-render part of the component whenever something in the state changes (since storing state in the DOM and reading it from there is bad)<p>Until you want to load javascript files on demand to construct and manage components instead of loading everything in one huge js file up front for a big website<p>Until you want to have a unified CSS convention so you can style all these components<p>That&#x27;s when you need a well tested framework.