React Hooks - useEffect Quiz

Is it safe to perform DOM manipulation inside the useEffect hook?