En términos de rendimiento, ¿cuál sería mejor si usar múltiples useEffect para diferentes dependencias o fusionarlos todos así?
useEffect(() => { if (user) { showNotification({ title: "Welcome", message: "You have successfully logged in! 😊", }); } if (loading) { return <Loading />; } if (error) { switch (error?.code) { case "auth/popup-closed-by-user": showNotification({ color: "red", title: `Opps!`, message: "You closed the popup window, please try again", }); break; default: showNotification({ color: "red", title: `Opps!`, message: "Something went wrong", }); } } }, [user, error, loading]);