useOptimizedContextualEffectHandler