Skip to content

Instantly share code, notes, and snippets.

@mcsee

mcsee/pluggable.js

Created Nov 19, 2020
Embed
What would you like to do?
class VerySpecificAndSmallObjectDealingWithPersistency {
constructor(retrieveStrategy) {
this.retrieveStrategy = retrieveStrategy;
}
retrieveData(){
this.retrieveStrategy.retrieveData();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment