Using a Mixin with Underscore
Explore how to use Underscore's extend method to apply a StorageMixin that enables local storage in Marionette entities. Understand how to configure storage keys matching each entity and leverage Backbone.localStorage for persistent client-side data storage in your Marionette applications.
We'll cover the following...
We'll cover the following...
At this point, we’re able to create a new constructor and have it assigned to the original reference. However, we still haven’t done anything about configuring local storage, which is what we originally set out to do.
Using the extend function
Underscore provides an ...