Angular Universal: Prevent duplicate requests
The way angular universal works is that it makes the http calls on the server, loads the app with the data on the client, then it makes the http calls again on the client.
In order to prevent this, you need 2 things:
in app.module.ts add in impor...
featuringcode.com1 min read