Provides an Angular service and guard to manage application lifecycle. It allows to execute code when the application is stable and ready. Includes a guard to prevent route activation until the app is ready.
Add the package to your workspace:
yarn add @rxap/life-cycle
Install peer dependencies:
yarn add @angular/core @angular/router @rxap/utilities rxjs
Execute the init generator:
yarn nx g @rxap/life-cycle:init
Initialize the package in the workspace
nx g @rxap/life-cycle:init