Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@rxap/life-cycle

rxap364GPL-3.0-or-later19.0.4TypeScript support: included

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.

angular, angular-life-cycle, life-cycle, ngx, packages, rxap, scope:utilities

readme

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.

npm version commitizen friendly styled with prettier Libraries.io dependency status for latest release, scoped npm package npm NPM

Installation

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

Generators

init

Initialize the package in the workspace

nx g @rxap/life-cycle:init