▲ 12 r/angular
I find that when using signals, the inject function coupled with the components own functions the code ends up becoming not very readable.
I’m currently ordering things as inputs, injected dependencies, computed signals, static properties then finally component functions.
How are you guys ensuring readability?
Also where you have a large amount of logic for a computed signal are you extracting this out into its own function that the computed calls or still just declaring it inline?
u/HedgehogNatural8680 — 7 days ago