Blog

Page 114 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for How to get query parameters from URL in Angular 5?

How to get query parameters from URL in Angular 5?

Published on September 2, 2023

šŸ“ **Title**: How to Easily Get Query Parameters from URL in Angular 5 Intro: Are you struggling to get query parameters from the URL in Angular 5? Don't worry! You're not alone. Many developers face this issue when starting their applications with query

Cover Image for Angular: How to update queryParams without changing route
query-string

Angular: How to update queryParams without changing route

Published on September 2, 2023

šŸ“¢ **Hey Angular enthusiasts! Get ready to level up your skills with this hot šŸ”„ topic: Updating queryParams without changing the route in Angular.** šŸ¤” Are you facing the challenge of modifying queryParams in your Angular app without triggering a route

Cover Image for How to get current value of RxJS Subject or Observable?
javascript

How to get current value of RxJS Subject or Observable?

Published on September 2, 2023

# How to get the current value of RxJS Subject or Observable? So, you have an Angular 2 service that uses RxJS Subject to manage the isLoggedIn status. šŸ‘ But there's a catch - you have another component that doesn't need to subscribe to the isLoggedIn O

Cover Image for Property "value" does not exist on type EventTarget in TypeScript
javascript

Property "value" does not exist on type EventTarget in TypeScript

Published on September 2, 2023

# Property 'value' does not exist on type EventTarget in TypeScript šŸ˜• šŸ‘‹ Hey there! Are you facing an issue with TypeScript and getting the dreaded error message "Property 'value' does not exist on type 'EventTarget'"? Don't worry, you're not alone! Many

Cover Image for angular2 style guide - property with dollar sign?

angular2 style guide - property with dollar sign?

Published on September 2, 2023

# Angular2 Style Guide - Property with Dollar Sign? šŸ’°šŸ’” If you've been exploring the official Angular documentation or stumble upon examples from the [Angular.io](https://angular.io) website, you might have noticed something interesting: the usage of the

Cover Image for Angular @ViewChild() error: Expected 2 arguments, but got 1

Angular @ViewChild() error: Expected 2 arguments, but got 1

Published on September 2, 2023

# Easy Solution for Angular @ViewChild() Error: Expected 2 Arguments, but Got 1 Are you facing an error with the `@ViewChild()` decorator in Angular, specifically the error message "Expected 2 arguments, but got 1"? Don't worry, you're not alone! This err

Cover Image for How to pass query parameters with a routerLink

How to pass query parameters with a routerLink

Published on September 2, 2023

šŸ“šŸ”„ **Tech Blog: How to Pass Query Parameters with a RouterLink** šŸ”„šŸ“ Do you struggle with passing query parameters using a RouterLink? šŸ˜• Don't worry, you're not alone! Many developers encounter this issue and find it quite frustrating. But fear not, b

Cover Image for How should I use the new static option for @ViewChild in Angular 8?

How should I use the new static option for @ViewChild in Angular 8?

Published on September 2, 2023

šŸ”šŸ‘¶ How should I use the new static option for @ViewChild in Angular 8? So, you're getting your hands dirty with Angular 8 and you stumbled upon this new cool feature called `static` for the `@ViewChild` decorator. But Wait! You have no clue how to use i

Cover Image for Angular pass callback function to child component as @Input similar to AngularJS way
angularjs

Angular pass callback function to child component as @Input similar to AngularJS way

Published on September 2, 2023

# Angular: Passing a Callback Function to a Child Component as @Input Are you an Angular developer trying to pass a callback function to a child component, similar to the AngularJS way? šŸ¤” In AngularJS, we had the `&` parameter that allowed us to pass a c

Blog | Matheus Mello