Founder Of Geekstrick. Full-Time Software Developer, Expertise in Frontend Development. Conversant with - Angular, React, NodeJS, and MongoDB, MySQL, Postgres,HTML+CSS+JS, CypressIO.

Introduction to SQL

geekstrick on May 20, 2021 🔥 465 views

Answer for What is difference between AngularJS and Angular?

geekstrick on May 18, 2021 🔥 0 views

Yes, Angular JS is a JavaScript framework it was used to develop a web application.     Angular JSThis framework has a model-view-controller (MVC) that acts as the central component as it manages data, logic, rules, and expresses how the applications behave.    AngularAngular uses components that are directives with templates. There are two kinds of […]


Angular v12 Is Now Released And Available

geekstrick on May 13, 2021 🔥 5027 views

Angular team has announced that the Angular v12 Is Now Released And Available. Below mention are the changes you will find in a newer version of angular. Angular v12: Ivy Everywhere Angular v12 has finally deprecated the View Engine. The community has been working over recent releases towards the goal of converging the Angular ecosystem […]


Flask 2.0 – New Major Version Released

geekstrick on May 12, 2021 🔥 8430 views

Flask 2.0 – New Major Version Released. This release will contain some new features such as some shorthand properties for the route, Support async views, callbacks such as error handlers, and better CLI errors. Flask 2.0 Upgradation and Installation Install from PyPI with pip. For example, for Flask: pip install -U Flask Note: Flask 2.0 […]


Schedule A Cron Job In NodeJS Using node-cron

geekstrick on May 8, 2021 🔥 96642 views

This tutorial will see how we can Schedule A Cron Job In NodeJS Using the node-cron module. What is a cron job? A cron job is the event schedular that runs a job as per the given time interval. So it executes a file linked which is linked to that particular job, it runs the […]


Answer for How to use AsyncPipe in Angular?

geekstrick on December 10, 2020 🔥 0 views

An async pipe is a way to display the value of an Observable in an Angular template. If the Observable emits a new value, the value displayed in the template will automatically update. And when you destroy the component, the Observable will automatically be unsubscribed for you. Maybe this will help you:


Angular 10 Secure Routes Using AuthGuard Based On User Role

geekstrick on October 29, 2020 🔥 157082 views

In this tutorial, we will see how Angular 10 Secure Routes Using AuthGuard Based On User Roles. Securing a route based on the token and AuthInterceptor for API is ok but also we can secure the routes based on what roles does the user has. You may have seen much application that shows an error […]


Answer for How to not trigger ngModelChange event on setValue in angular 10 reactive form

geekstrick on October 28, 2020 🔥 0 views

Instade of NgModelChange you can use the valueChange then you can handle whether to emit event or not on value change by passing emitEvent in setValue() if (save) { this.workOrderForm.get(‘productID’).setValue(newProduct.ID); // some more functionality } else { this.workOrderForm.get(‘productID’).setValue(oldProductID, {emitEvent: false}); } and in HTML <mat-select formControlName=’productID’ (valueChange)=’setNewProduct($event)’> … </mat-select>


Deno v1.5.0 New Version Released

geekstrick on October 27, 2020 🔥 2605 views

Deno v1.5.0 New Version Released has released today. This release will contain some new features, lots of bug fixes, and many feature stabilizations. Deno v1.5.0 up-gradation If the deno is already installed you can use the basic command to upgrade deno upgrade. incase if you are new, you can install it from the below options. […]


Answer for How can we cache the HTTP requests in Angular 10?

geekstrick on October 27, 2020 🔥 0 views

Yes it was possible then and now also in the latest version using rxjs/operators … private records$: Observables<any>; … public getPart(id: any): Observable<any> { if(!this.records$) { this.records$ = this.http .get(`${this.baseUrl}${id}`) .pipe(map((res: any) =>, shareReplay(1)); } return this.records$ // reply the last result for all new subscribers } Just pipe the stream through shareReplay operator. […]