@preact-hooks/unistore
Version:
A custom Preact hook to wire up components to Unistore.
2 lines (1 loc) • 384 B
JavaScript
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).shallowEqual=t()}(this,(function(){return(e,t)=>{var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||e[n[r]]!==t[n[r]])return!1;return!0}}));