We say, Signals are a way for us to execute a piece of code when certain event happens. In this example, when the user is saved to database. Why couldnt we simply think of an if condition to do this?
Algo:
if ( user saved to database):
Create UserProfile.
We say, Signals are a way for us to execute a piece of code when certain event happens. In this example, when the user is saved to database. Why couldnt we simply think of an if condition to do this?
Algo:
if ( user saved to database):
Create UserProfile.