Category: ERP
-
Problem with Angular singleton, or so I thought?
The issue was that in my singleton service constructor, I am creating dummy data that I want to use in the app. As I was setting up routing, when navigating to each route, the constructor would re-run, and in my case, none of the id’s that were created (uuid4) remained…