DEV Community

Discussion on: How I removed a ton of if statements from my Angular app

Collapse
 
bennadel profile image
Ben Nadel

This is the pattern than I generally use as well. I find it works quite well. I'll also often include a "loading" UI when the user is not yet available.