use-evaluated-effect (npm): React useEffect with a functional trigger
Keywords: React|useEffect