Mobile Phones/Cell Phones; Harmful Effects of Cellphones in Your Brain
Mobile Phones/Cell Phones is the fundamental element in every moment or second in our life. But this most useable phone has some health effect that are...
Read articleBrowse trusted health articles by topic. Use the filters and A-Z index to quickly find related medical content.
Mobile Phones/Cell Phones is the fundamental element in every moment or second in our life. But this most useable phone has some health effect that are...
Read articleProgramming languages are the foundation of software development and computer science. They provide a medium through which humans can instruct machines to perform specific tasks. Here’s...
Read articleAnd note some fundamentals of Promise – When you create a new Promise, you’re really just creating a plain old JavaScript object. This object can invoke...
Read articleThis tutorial teaches FIWARE users how to alter the context programmatically. The tutorial builds on the entities created in the previous stock management example and enables a user...
Read articleIn this file, you will write the functions that dispatch an action. These functions will be linked to your component props by the container’s mapDispatchToProps function....
Read articleA lifecycle hook that is called after Angular has fully initialized a component’s view. Define an ngAfterViewInit() method to handle any additional initialization tasks. interface AfterViewInit...
Read articleAggregation in MongoDB is nothing but an operation used to process the data that returns the computed results. Aggregation basically groups the data from multiple documents...
Read articleFiber, the new React reconciliation algorithm, has the ability to start and stop rendering as needed for performance benefits. One of the trade-offs of this is...
Read articleFirst a re-cap of the basic CSS Chain/Descendant Selector 1> Chain Selectors – https://stackoverflow.com/questions/13444647/css-class-definition-with-multiple-identifiers .class1.class2 will match only the elements that have both of the classes defined....
Read articleBasically, the Company asked to create an Android “screen” that would allow a user to enter and submit the following data from an American Express, Discover,...
Read articleAccording to original Documentation the pipable operator is that function take observables as a input and it returns another observable .previous observable stays unmodified. pipe(...fns: UnaryFunction<any,...
Read articleOne of the main goals of Angular is to help the developer create reusable and composable components. I think ng-content is one of the simplest ways...
Read articleControlValueAccessor interface gives us the power to leverage the Angular forms API, and create a connection between it and the DOM element. The major benefits we gain...
Read articleHere we will explore the case when a user types some text in an input box and based on that text an api call is being...
Read articleWhen discussing and documenting observables, it’s important to have a common language and a known set of rules around what is going on. This document is...
Read articleAccording to original Documentation the pipable operator is that function take observables as a input and it returns another observable .previous observable stays unmodified. pipe(...fns: UnaryFunction<any,...
Read articleAccording to the official RxJS documentation, there are two types of operators. A. Pipeable operators: These are operators that can be piped to existing Observables using...
Read articleI have a web worker that crunches data when a message is received from the main thread. I’ve created a hot observable of those messages (using...
Read articleCombines multiple Observables to create an Observable whose values are calculated from the latest values of each of its input Observables. Whenever any input Observable emits...
Read articleIs there a need to unsubscribe from the Observable the Angular HttpClient’s methods return? For example: this.http.get(url).subscribe(x => this.doSomething()); Do I need to unsubscribe from this...
Read articleShort ANS we DONT’T need to unsubscribe when using async pipe. export class AsyncPipeCardComponent implements OnInit { messageSubscription: Observable<string>; constructor(private upperCaseService: UpperCaseService) {} ngOnInit() { this.messageSubscription...
Read articleOne of the most important aspects of software architecture might be the concept of decoupling pieces of code. Therefore we could consider passing streams to child...
Read articleBehaviourSubject – Requires an initial value and emits the current value to new subscribers. One of the variants of the Subject is the BehaviorSubject. The BehaviorSubject has...
Read articlengOnChanges runs whenever any of the inputs change, if you use setter/getters for the inputs you want to listen to they will only run when that input...
Read articleThe Emulated mode is the default one. This allows that styles from main HTML propagate to the component but styles defined in this component’s @Component decorator...
Read articleFirst the wrong code that will NOT compile at all method(): Observable<boolean> { if (sessionId === '') return false; return this._http.get('sessionId=' + sessionId).map(res=> { if (res.status...
Read articleThey are part of good old Javascript. Accessor properties are represented by “getter” and “setter” methods. In an object literal they are denoted by get and...
Read articleTypescript allows for non-method properties, similar to this Stage 3 proposal. In fact, declaration of each instance method or property that will be used by the...
Read articleSay we are creating an application that displays a product list. When the user clicks on a product in the list, we want to display a...
Read articlesubscribe is not a regular operator, but a method that calls Observable’s internal subscribe function. It might be for example a function that you passed to Observable’s constructor, but...
Read articleSubjects are used for multicasting Observables. This means that Subjects will make sure each subscription gets the exact same value as the Observable execution is shared...
Read articleA very simple example usecase in an angular component file – accessControl.component.ts – which is using reselect package – I have the following @select(currentRolesListDataSelector) accessControl$: Observable<Role[]>; accessControl:...
Read article