Browsing Tag

providers

Keeping state in Angular apps

Abstract As your Angular application grows you’ll need to keep track of your data across different components, as data changes each component must reflect that change as needed.There are many patterns and libraries you can use to keep your data in sync across components and devices.Presentation…
Read More...

Angular v4: Hybrid Upgrade Application – Hacker Noon

Sometimes it was too complicated and cause to circular dependency that solved by the forwardRef function.Upgrade adapter instatiation — the old wayAnd the bootstrapping looks like:Bootstraping the application using the upgrade adapterThe…

NgUpgrade with Lazy Loading

Lazy loading is handled by the new Angular router, but there is also internal ui-router routing in the AngularJS portion./app.component'; @NgModule({ declarations: , imports: , bootstrap: , providers: , }) export class AppModule {} A you…

Writing Custom Laravel Artisan Commands

Laravel’s artisan command line interface (CLI) extends Symfony’s Console component, with some added conveniences and shortcuts.We’ll build a console command that runs a health check against your Laravel application every minute to verify…

Keeping state in Angular apps

Abstract As your Angular application grows you’ll need to keep track of your data across different components, as data changes each component must reflect that change as needed.There are many patterns and libraries you can use to keep your…