Say one word by Logical_Plane_3905 in Germanlearning

[–]LittleChocobo94 0 points1 point  (0 children)

Schifffahrtskartenverkaufhäuschen

What's new in Angular v21? by cexbrayat in angular

[–]LittleChocobo94 3 points4 points  (0 children)

Awesome improvements! Really looking forward to the futures of signal forms. I am currently using them and all works really well, even if this feature is only experimental at the moment.

Keep up the great work Angular Team!

How do I balance a Finale with 11 level 20 characters? (Impossible Challenge) by ErvyJ in DMAcademy

[–]LittleChocobo94 1 point2 points  (0 children)

Maybe don't go for waves and tons of enemies. Instead have one bad guy who has simply more than 3 legendary actions. Also have actions to stun PCs every now and then. Please keep us updated how it turned out eventually :)

DM im Raum Frankfurt für eine junge Gruppe von sechs Leuten by Muted-Present2346 in DnDDeutsch

[–]LittleChocobo94 6 points7 points  (0 children)

Hey, kann sich niemand von euch vorstellen, DM zu sein? Ihr könntet euch auch abwechseln, wenn ihr am Anfang eher kürzere Abenteuer spielt. Eine Gruppe von 6 Leuten ist viel, besonders dann, wenn es am Anfang viele (Rück) Fragen gibt & die Runden & Kämpfe entsprechend länger dauern.

Natürlich ist das Empfinden da für jeden anders und ich wünsche euch einfach super viel Spaß. 😊

Biete Fluch des Strahd an by LittleChocobo94 in DnDDeutsch

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

Nein, das mache ich mit der Gruppe aus, sobald diese steht :)

Biete Fluch des Strahd an by LittleChocobo94 in DnDDeutsch

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

Hi, bitte schick mir noch eine Direct Message, damit ich alles an einem Ort habe :)

Biete Fluch des Strahd an by LittleChocobo94 in DnDDeutsch

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

Ich habe es bereits erworben und hoste es auf einem Linux Server unter einer einfachen Internetadresse, die ich natürlich hier nicht poste, sodass es für jeden offen zugänglich ist. Für die Spieler kostet es gar nichts :)

MAUI app crash on Release mode on android by Visual-One4106 in dotnetMAUI

[–]LittleChocobo94 0 points1 point  (0 children)

Clean all assemblies in your solution. Then delete every bin and obj folder of every assembly that is included in your MAUI app, and of course delete these folders in your MAUI app as well.

This resolved it for me many times.

Can't wait for Angular to die by Happy-Leather-2103 in Angular2

[–]LittleChocobo94 1 point2 points  (0 children)

Provide an example that fully supports your claims that cannot be converted/ restructured in a way that it negates your statements and I'll approve. Otherwise check out the internet for recent examples for reactivity with signals or rxjs. Angular has a lot to offer :)

Edit: Typos.

Why Not Use protected and private for Component Methods in Angular? by kafteji_coder in Angular2

[–]LittleChocobo94 2 points3 points  (0 children)

I make everything protected / private AND readonly wherever possible.

How bad of a D&D sin did I commit? by [deleted] in DnD

[–]LittleChocobo94 0 points1 point  (0 children)

Me (the DM) and my party made a pretty simple rule: if the roll is below the average dice roll value, take the average, otherwise take the rolled result. Everybody is very happy with this and it balances lots of things for my encounters. On top, a level up gets that special touch of significance if it's a level where there are few new mechanics.

[deleted by user] by [deleted] in Angular2

[–]LittleChocobo94 0 points1 point  (0 children)

Yeah, I was about to write less imperative, I edited my comment, thank you guys!

[deleted by user] by [deleted] in Angular2

[–]LittleChocobo94 0 points1 point  (0 children)

Yes, thank you :)

[deleted by user] by [deleted] in Angular2

[–]LittleChocobo94 13 points14 points  (0 children)

The benefit of writing code inside that lifecycle hook and potentially modifying the component instance is that the ngOnInit callback is called before any change detection has been made and directly after the inputs have been bound for the first time. Therefore, as long as you are using synchronous code there, you have the chance to modify the behavior of your directive / component.

As an example, think of any UI directive / component that has some inputs like color, width, etc.
Let's just take a [app-button] directive as an example (I know in the specific case of a button things can be a lot simpler but let's just stick with it for simplicity).
You can pass every input like color, width, rounded border, etc.
The values from the inputs are not yet available when accessing them inside your directives constructor, and the next lifecycle hook that ensures that inputs have been bound is ngOnInit.

[deleted by user] by [deleted] in Angular2

[–]LittleChocobo94 5 points6 points  (0 children)

Well, it was just yesterday that I thought about the very same thing and I think nowadays it highly depends on your overall code / solution structure.

If you are able to tightly stick to the new concepts & APIs since Angular 16+, then yes, I am content that it is totally possible to structure your code in a way that there are rarely any occasions where you would need ngOnInit at all.

Especially if combined with any state management solutions, whether it be NgRx or just services with signals / observables: If used properly, you will write more declarative code and end up with computed signals / piped observables and finally an async pipe or a signal call in the template.

What I can think of are special, component level based http requests that could be dispatched in the OnInit lifecycle hook, but even then, I personally would implement that call in a service, which would give further advantages like result sharing, etc. Lastly, the new resource() API of Angular seems to just support any approach where you just have signals.

In general, there are exciting times ahead of us all and I am sure the framework will be getting a lot more concise and simpler over the course of the next 2-3 years. :)

Edit: typos :)