UNPKG

@rtbjs/use-state

Version:

`@rtbjs/use-state` is a state management tool that can act as a local state and be easily turned into a global redux state. It is an innovative approach to state management that combines the advantages of both React's useState and Redux's state management

9 lines 275 B
"use strict"; exports.__esModule = true; exports.getWindowSize = void 0; var getWindowSize = function () { return ({ width: window.innerWidth || 0, height: window.innerHeight || 0 }); }; exports.getWindowSize = getWindowSize; //# sourceMappingURL=getWindowSize.js.map