Hello everyone, I was wondering if I could use toSignal as a computed signal.
For example, I have and observable that gets data from the server, and I want it to trigger everytime a state signal changes. This is what I tried:
data = toSignal(httpObservable(stateSignal()));
I was assuming toSignal would act like a computed signal. But it doesn't update when stateSignal() changes. Is it possible to have a computed signal from a observable that updates when their signal dependences change?