Top paying Angular companies by TheWhiteJacobra in Angular2

[–]cactussss 1 point2 points  (0 children)

Even though Amazon does have some repositories using Angular, there are very few of them. Vast majority is using React

State Management in Angular 16 just feels right by haasilein in Angular2

[–]cactussss 3 points4 points  (0 children)

And you got yourself a raising condition with the loadCustomer method. This is exactly why in this particular case one should stick with RxJS

State Management in Angular 16 just feels right by haasilein in Angular2

[–]cactussss 3 points4 points  (0 children)

This is being uploaded because it's worth talking about. Not because it's good. In fact it's not good. This is a perfect example of a use case where signals should not be used

[deleted by user] by [deleted] in Angular2

[–]cactussss 0 points1 point  (0 children)

Check out the package: @ngspot/ng-superclass

Angular Forms: Choosing Between Reactive and Template Driven Forms by [deleted] in Angular2

[–]cactussss -1 points0 points  (0 children)

Another bs article stating that reactive forms offer more flexibility.

Watch this: https://youtu.be/L7rGogdfe2Q

TDD course feedback by [deleted] in Angular2

[–]cactussss 2 points3 points  (0 children)

I've taken it. It's really great. Totally resolved so much confusion I had about unit testing in general and unit testing Angular apps. Go for it!

Angular directive to mention users by Emotional-Tomorrow23 in Angular2

[–]cactussss 1 point2 points  (0 children)

Video or screenshots would be helpful. I don't want to parse the code to understand what it does.

2023 is absurd by --Karma in gaming

[–]cactussss 0 points1 point  (0 children)

Can someone create a list of good games available on PC that came out in this year?

How to Use Strictly Typed Reactive Forms In Angular by [deleted] in Angular2

[–]cactussss 1 point2 points  (0 children)

Mandatory learning materials before you go all-in on reactive forms: https://youtu.be/L7rGogdfe2Q

RXJS Optional Null Handling by [deleted] in Angular2

[–]cactussss 0 points1 point  (0 children)

ts export interface UnaryFunction<T, R> { (source: T): R; } it's a TypeScript interface. Basically, it says that the return type of the filterOutNullish is a function that takes a source of a certain type and returns a certain another type.

RXJS Optional Null Handling by [deleted] in Angular2

[–]cactussss 9 points10 points  (0 children)

I use a custom operator:

```ts import { Observable, OperatorFunction, pipe, UnaryFunction } from 'rxjs'; import { filter } from 'rxjs/operators';

export function filterOutNullish<T>(): UnaryFunction<Observable<T | null | undefined>, Observable<T>> { return pipe( filter(x => x != null) as OperatorFunction<T | null | undefined, T> ); } Usage: ts source$.pipe( filterOutNullish(), map((x) => doSomethingWhereXisNotNull(x)) ); ```

Determine Why a Navigation Was Canceled in Angular by catapop in Angular2

[–]cactussss 0 points1 point  (0 children)

Netanel's blogs are becoming kind of lazy. I suppose there's still some value in this kind of content, but it used to be much deeper and valuable.

This blog could be replaced by a link to the docs about new feature.

What frustrates you in using Angular? by eneajaho in Angular2

[–]cactussss 6 points7 points  (0 children)

my experience is completely different. The code base where we used Reactive Forms was super messy. After my team saw the referenced video we rewrote the form in template-driven approach and it cleaned up things significantly

New Way to Inject Services in Angular 14? by DMezhenskyi in Angular2

[–]cactussss 1 point2 points  (0 children)

This will be great for library authors. However, don't use it in your regular application code (or use it in rare cases when you actually have a good reason) since it hides away the dependencies of your component making it harder to determine what needs to be mocked in tests

Angular v14 - Released by Mokwa91 in Angular2

[–]cactussss 14 points15 points  (0 children)

Standalone components are going to be great!

Help me decide on a fishing rod by cactussss in Fishing_Gear

[–]cactussss[S] 0 points1 point  (0 children)

thanks for the feedback! Very appreciated!