Skip to content

Instantly share code, notes, and snippets.

@mvbattan
Created April 7, 2017 14:58
Show Gist options
  • Save mvbattan/5659068beacf853188fe90bafa4f5377 to your computer and use it in GitHub Desktop.
Save mvbattan/5659068beacf853188fe90bafa4f5377 to your computer and use it in GitHub Desktop.
keyUtils.js
export const keyGen = (serializable, anotherSerializable) => {
return `${JSON.stringify(serializable)}-${JSON.stringify(anotherSerializable)}`;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment