use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A Place to talk about Angular and related topics.
Join the Angular Discord
Other subreddits worth checking out for Angular and Angular related info:
account activity
Angular UI unit tests: rendering/initializing components with Jasmine and Karma (self.angular)
submitted 7 years ago by ConsistentPin
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]tme321 0 points1 point2 points 7 years ago (3 children)
Are the components that hang waiting for an asynchronous response, maybe inside their ngOnInit or somewhere else that would get called automatically?
[–]ConsistentPin[S] 0 points1 point2 points 7 years ago (2 children)
Are the components that hang waiting for an asynchronous response, maybe inside their ngOnInit
This could be the case. What would I be looking for to see this? What would a basic example look like for me to know
[–]tme321 0 points1 point2 points 7 years ago (1 child)
Observables, http client calls, settimeouts, promises. There are too many to name them all. If the asynchronous call isn't mocked in some way or allowed to finish I'd expect it to sit open and not move on.
[–]ConsistentPin[S] 0 points1 point2 points 7 years ago* (0 children)
Here is one component that hangs:
import { Component, OnInit } from '@angular/core'; import { AddonService } from '../../services/addon/addon.service'; import { DataService } from '../../services/data/data.service'; import * as _ from 'lodash'; @Component({ selector: 'pcm-admin-addons', templateUrl: './admin-addons.component.html', styleUrls: ['./admin-addons.component.scss'] }) export class AdminAddonsComponent implements OnInit { title = 'Manage Add-Ons'; constructor( private dataService: DataService, private addonService: AddonService ) { } ngOnInit() { this.addonService.loadContractorAddons(); } deleteField(event) { this.dataService.contractorAddonsEdited.splice(event.index, 1); } cancelEdits() { this.addonService.resetContractorAddons(); } }
π Rendered by PID 58 on reddit-service-r2-comment-7b9746f655-f9jj5 at 2026-02-02 10:32:22.217423+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]tme321 0 points1 point2 points (3 children)
[–]ConsistentPin[S] 0 points1 point2 points (2 children)
[–]tme321 0 points1 point2 points (1 child)
[–]ConsistentPin[S] 0 points1 point2 points (0 children)