I’ve been doing front-end development for about 3+ years now using the React framework. Besides the component classes in React, I’ve never had the need to use classes to create other objects.
The reason is almost all object arrays that need to be rendered come from the backend (and hence are created server-side). Even the creation of new instances of an object / data is done via a POST request.
Anyone have had the need to create classes other than to create components when doing front-end? If so, in what scenarios?