Open leoafarias opened 5 months ago
Do you mean you want ListSignal to compare with DeepCollectionEquality?
Yes, but if you don't want to bring as a dependency, maybe we can create an equivalent. Let me know what makes sense, and I can give a try on a PR.
I'm trying to hold off adding dependencies as long as possible to maximize compatibility with projects.
I think having something equivalent would be a great addition!
I agree, will create a PR for you to review if it makes sense.
Sounds great!
The current implementation of the equality check in the
IterableSignal
class (whichListSignal
extends) compares the iterable references instead of comparing the actual values of the iterable.This behavior is expected when assigning a list using
signal
, but in my opinion usinglistSignal
, or some of the otherIterableSignals
, this should be handled.Suggestions