Rehmaanali

Rehmaanali

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

How To Call Multiple Rest API and Subscribe in Angular 10?

geekstrick on September 30, 2020 πŸ”₯ 0 views

I have multiple methods that contain individual get method but in component How to Call Multiple Rest API and Subscribe in component i.e. calling multiple methods in one subscribe. /** * Get current User from the server. * * @returns {json} current user. */ public getCurrentUser(): any { return this.http.get(this.baseUrl) .pipe(map((res: any) => res.data)); } […]

discussion

Answer for What is the difference between pure and impure pipe in angular?

geekstrick on September 30, 2020 πŸ”₯ 0 views

Pure Pipe A pure pipe is only called when Angular detects a change in the value or the parameters passed to a pipe @Pipe({ name: ‘filterPipe’, pure: true })export class FilterPipe {} Impure Pipe An impure pipe is called for every change detection cycle no matter whether the value or parameter(s) changes. An impure pipe […]

discussion

Better Typescript Source Code Documentation For Angular 10

geekstrick on September 30, 2020 πŸ”₯ 173075 views

In this tutorial, we will see how can we write a Better Typescript Source Code Documentation For Angular 10 Projects. Documentation can help the developers to understand the logic and functionality of methods, class, or arguments. You can document your project with an automated documentation generator in which we don’t have to add comments for […]

post

Answer for How to make smooth transition when we change one lazy route to another in angular 9?

geekstrick on September 28, 2020 πŸ”₯ 0 views

The Glitch and slowness is due to when you route to some model then only it loads its module assets and code, so you can preload your module when the app is initiated using the preloadingStrategyin the router config. const routes: Routes = [ { path: ‘customers’, loadChildren: () => import(‘./customers/customers.module’).then(m => m.CustomersModule) }, { […]

discussion

Best Device Orientation API In Web Using Javascript

geekstrick on September 28, 2020 πŸ”₯ 162751 views

In this tutorial, we see the hidden gem that is Detecting device orientation in Web Using Javascript. you need to make sure your browser supports it. You can easily check caniuse.com. Code & Demo Works Better in Mobile Detecting device orientation It allows a device to detect its physical orientation with respect to gravity. If […]

post

Google Launches New Tables Area 120 Beta Version For USA

geekstrick on September 27, 2020 πŸ”₯ 2500 views

Google Launches Tables Area 120 Beta Version In The USA. Tables is a product from Area 120, by Google it manages your pipeline, leads, and client relationships with a tool built for your unique sales process. currently, it is launched only in the USA. Tables Area 120 Beta Tables can help the teams to easily […]

news

Best Way To Build And Host Angular 10 Application

geekstrick on September 26, 2020 πŸ”₯ 161781 views

In this tutorial, we will see how can we Build And Host Angular 10 Application. Hosting an angular application can be done with different configs. Normal Way To Host Angular 10 Application After the development, we can create a compiled version of our angular application for a prod version using the Angular CLI command. bash […]

post

Best Way To Create Async Validators in Angular 10 Reactive Forms

geekstrick on September 25, 2020 πŸ”₯ 70052 views

In this tutorial, we will see ho can we create a Create Async Validators in Angular 10 Reactive Forms that validates the form data based on the HTTP API response. We will be creating the custom validator that connects with service and component form and validates the user selection. Example Usecase Suppose the address form […]

post

Answer for How to get and to update nested object values with the dot notation string using javascript

geekstrick on September 25, 2020 πŸ”₯ 0 views

You can use this approach via passing the data as an internal object, filed to be updated, and value of the field. nestedObjectGetUpdate(data, field, value) { let schema = data; // a moving reference to internal objects within obj const pList = field.split(‘.’); const len = pList.length; for (var i = 0; i < len […]

discussion

PostgreSQL Has Announced Released Of v13

geekstrick on September 25, 2020 πŸ”₯ 2483 views

The Group of PostgreSQL developers has announced the release of version 13, the latest version of the world’s most advanced open source database. It comes with improvements to its indexing and lookup system that benefit large databases, Includes space-saving, faster response time for queries, better query planning when enhanced statistic, and more. PostgreSQL v13 PostgreSQL […]

news
1 3 4 5 6 7 16