@ishawnwang/withunmounted

HOC for set a flag when componentWillUnmount, bypass `Can't perform a React state update on an unmounted component` warning

Browse on unpkg