Can I get a snippet of your registration function so I have something to work with?
I don't know if this is a good practice but you can use the .subscribe() method:
In your imports:
import { HttpClient } from "@angular/common/http";
import { MatSnackBar } from "@angular/material/snack-bar";
Can I get a snippet of your registration function so I have something to work with?
I don't know if this is a good practice but you can use the .subscribe() method:
In your imports:
In your constructor:
Your function e.g. user creates a post/logs in:
Thanks, but I meant the messages themselves, for example, I could put them all in a messages.json and it would be something like this:
But I don't know if making this file is a good practice, or leaving everything hard code is good, but thanks anyway :)