use-deferred-state
Version:
A React hook for deferring state change. That's essential when your UI needs to wait for disappearing animation is complete to unmount component.
3 lines (2 loc) • 169 B
TypeScript
A React hook for deferring state change. That's essential when your UI needs to wait for disappearing animation is complete to unmount component.