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.
Installation
Add the package to your workspace:
yarn add @rxap/life-cycleInstall peer dependencies:
yarn add @angular/core @angular/router @rxap/utilities rxjs Execute the init generator:
yarn nx g @rxap/life-cycle:initGenerators
init
Initialize the package in the workspace
nx g @rxap/life-cycle:init