input signals are new and since there aren't a lot of examples for specific cases, i was wondering if this is acceptable or are there some hidden stuff in the api that can make it better,
basically i have an input signal called show but i want to give it a default value, that default value is the && of two boolean observables
show: InputSignal<boolean> = input(
toSignal(this.someObservableThatReturnsABoolean)()
&&
toSignal(this.anotherObservableThatReturnsABoolean)()
);
i know about computed but idk if it's of any use here
i guess i can use rxjs to get a single observable but i was wondering if it can be simpler
and just the fact that i'm get turning an observable to a signal and getting the value of that signal and then passing it to input which is a signal is kinda weird and doesn't feel right