Skip to content


Table of contents

useSafeTimeout is a utility Hook that allows you to safely call setTimeout and clearTimeout within a component, ensuring that all timeouts are cleared when the component unmounts.


Edit this page on GitHub
1 contributoremplums
Last edited by emplums on February 11, 2021