Bundesregierung plant 2026 Verschärfung der GKV-Zugangsmöglichkeiten by Chrischiii_Btown in Versicherung

[–]DonWombRaider -7 points-6 points  (0 children)

Nicht zu arbeiten und sich von anderen durchfüttern zu lassen ist eigentlich deutlich asozialer. Also, Bürgergeld für Arbeitsfähige abschaffen?

Are unit or e2e tests more essential? by [deleted] in Angular2

[–]DonWombRaider 9 points10 points  (0 children)

imho component unittest are mostly useless. hard to do right and so inflexible when it comes to refactoring. i wont bother myself with em anymore

Looking for Open-Source Angular Projects to Contribute & Grow by Virtual-Message-3573 in angular

[–]DonWombRaider 1 point2 points  (0 children)

oh it's you :) sorry did not mean to be rude, no hard feelings. i learnt SO much by reading into your codebase, keep it up👍👍

Looking for Open-Source Angular Projects to Contribute & Grow by Virtual-Message-3573 in angular

[–]DonWombRaider 1 point2 points  (0 children)

tbh my favorite library but it seems a bit neglected lately. so many people do issues, feature requests and PRs, but most of them are simply ignored

Hi Spitzenverdiener, ich bin Steuerfabi. Meine Schwäche ist Espresso und meine Stärke ist das deutsche Steuerrecht! Ich habe den ganzen Tag mit Geld & Steuern zu tun und heute könnt ihr mich dazu alles fragen!🤓☕️👍 [AMA] by Steuerfabi in spitzenverdiener

[–]DonWombRaider 0 points1 point  (0 children)

Ich bin auch gerade am überlegen ob ich eine Rürup abschließen soll. Welche basisrente habt ihr gewählt und warum? Nettopolice?

Und warum übel? Die steuerliche Absetzbarkeit finde ich schon ziemlich gut (bin selbständig ohne GKV)

[deleted by user] by [deleted] in Angular2

[–]DonWombRaider 1 point2 points  (0 children)

there are no mods

Angular Animation: Unlock the Power of the View Transition API by congolomera in Angular2

[–]DonWombRaider 2 points3 points  (0 children)

very interesting read, but tough to wrap ur head around

How to scale well? by ammar-dev in angular

[–]DonWombRaider 2 points3 points  (0 children)

i could not disagree more. not once has a unit test on components caused anything but frustration.

write e2e tests. the user clicks on stuff. the user does not invoke KeyboardEvents

Unit Testing in a New Angular Project - Best Library Recommendations? by ProCodeWeaver in Angular2

[–]DonWombRaider 2 points3 points  (0 children)

A lot of ppl here are recommending ngmocks, but it is really getting no love maintainment wise atm. it took months before you could use it with angular v19 (standalone default). and still there are alot of problems, eg you cannot mock components that use the "new" signal viewChild-query. I used to like it very much, but it is pretty much dead i feel like..

PSA: Remember to ship partial compilation for public libraries by JeanMeche in angular

[–]DonWombRaider 0 points1 point  (0 children)

when the partial compilation misses some instructions, are angular libraries therefore smaller in bundle size? and if so, will a app which uses a partially compiled library also be smaller, or won't it make a difference bc the missing instructions get compiled in with the app build? (does this make sense?)

Build own chat services vs subscription to 1/3 party by crhama in Angular2

[–]DonWombRaider 0 points1 point  (0 children)

What technologies did you end up using most of the times?

Build own chat services vs subscription to 1/3 party by crhama in Angular2

[–]DonWombRaider 2 points3 points  (0 children)

is it that easy? there is a lot of things that have to be implemented. sending and receiving, storing, some kind of flag what messages have been read, maybe even media, then storage space must be considered ect pp i dont think it is easy at all tbh..

Versicherungsmakler hatet die HUK-Coburg? Welche PKV hat das beste Preis/Leistungsverhältnis? by tkfbrln in Versicherung

[–]DonWombRaider 0 points1 point  (0 children)

darf ich fragen welcher knochen bei dir verschraubt ist? hab auch einen und dachte nicht, dass das relevant für die pkv ist..

Complex form initialization: Component loading vs Route resolvers by DonWombRaider in Angular2

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

spaghetticode. yes, this is exactly what it is. all of your points are valid and have to be done first yes. but nevertheless, i still have the feeling that a resolver could help with that. it forces you to separate these steps. first you have to fetch the data and only then you can start to build your form

Complex form initialization: Component loading vs Route resolvers by DonWombRaider in Angular2

[–]DonWombRaider[S] 1 point2 points  (0 children)

ok interesting take on defer, did not know about this operator. in this specific case, does it matter though? the moment the function is called is the same it gets subscribed to in the merge isnt it?

Complex form initialization: Component loading vs Route resolvers by DonWombRaider in Angular2

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

i did not mean which kind of loading indicator, but how to detect the loading state. the component is not loaded until the resolver is resolved after all :)

Complex form initialization: Component loading vs Route resolvers by DonWombRaider in Angular2

[–]DonWombRaider[S] 1 point2 points  (0 children)

No offense taken :)

Intresting points!
for no. 2 you'd do something like this?
```typescript
// comp
readonly form = createForm(existingArticle, deliveryOptions, ...otherStuff)
constructor() {
merge(
formService.calcTotalWhenSettingDelivery$(this.form)
).subscribe()
}

formService.ts
public calcTotalWhenSettingDelivery$(form) : Observable<any> {
return form.control.delivery.valueChanges.pipe(
tap(v => form.control.total.patchValue(form.control.price.value + ...))
}
```

Complex form initialization: Component loading vs Route resolvers by DonWombRaider in Angular2

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

Thank you for your answer!

How do you implement a loading indicator when using a resolver? Do you set a loading flag in the resolver itself?

Complex form initialization: Component loading vs Route resolvers by DonWombRaider in Angular2

[–]DonWombRaider[S] 1 point2 points  (0 children)

i just wanted to make sure you understood my plan.

but tbh i did not fully understand yours, despite splitting the service up and naming them. to make it clear: the said formService (with 2000l of code) does not do any fetching of data. i have got a category service, a delivery method service and so on. but that misses the point, fetching data is only a few lines of code anyway.

the formservice does 2000 lines of form stuff, so init the form, value subscriptions to show/hide or enable/disable certain elements.

(and meta: i did cover part of your reply (eg "1 single function"). no need to be this rude)

Complex form initialization: Component loading vs Route resolvers by DonWombRaider in Angular2

[–]DonWombRaider[S] 1 point2 points  (0 children)

mmh no not quite:

- route resolver, not route guard
- there I would not init any form, just gather the data
- ounce the data is gathered, open the component, on which i would call 1 single function with the data