use-init

It's sorta like useMemo without your linter yelling at you