use-effect-once (npm): useEffectOnce and useLayoutEffectOnce with conditional execution
Keywords: use-effect|use-effect-once|react|typescript