import*as e from"react";import{useUnmountEffect as r}from"./use-unmount-effect.js";function t(){var t=e.useRef(!1),[u,n]=e.useState(0);return r((()=>{t.current=!0})),e.useCallback((()=>{t.current||n(u+1)}),[u])}export{t as useForceUpdate};
//# sourceMappingURL=use-force-update.js.map
