on-internet
← Community

Understanding how to apply Angular Signals from beginning on an existing service

Stack Overflow ·

I just started to look at the documentation of Angular Signals and I am not able to make heads or tails of how to use it in the Authentication Service that I have made previously. import { Injectable } from '@angular/core'; import { User, UserCredential, createUserWithEmailAndPassword, getAuth, signInWithEmailAndPassword, } from '@angular/fire/auth'; import { LoginUser, SignUpUser } from '../models/user.model'; import { catchError, from, map, of, switchMap, tap, throwError } from 'rxjs'; import { HttpErrorResponse } from '@angular/common/http'; import { Auth, authState } from '@angular/fire/au

Comments

Sign in or sign up to comment and upvote.

No comments yet.