When I first encountered Backbone.js ten years ago, I was enamored with it. I still have my client side state managed with Backbone.js. Svelte is the front-end framework that I utilize. For front-end projects, I usually use Svelte for components and Backbone for state management. In order to make Backbone’s collections and models consistent with a sleek store signature and enable component responsiveness to model changes, I implement a monkey patching technique.
Exists a significant drawback to applying this method? Is there a more effective method?