import{useCallback as r,useRef as t,useState as n}from"react";import{__read as o}from"../../../node_modules/tslib/tslib.es6.js";import{useUnmountEffect as e}from"./use-unmount-effect.js";function u(){var u=t(!1),f=o(n(0),2),i=f[0],m=f[1];return e((function(){return u.current=!0})),r((function(){!u.current&&m(i+1)}),[i])}export{u as useForceUpdate};
//# sourceMappingURL=use-force-update.js.map
