I am working in a HomeComponente and I am pulling data from db for two arrays, I am using signals for storing my queries
aList = signal<A[]>([])
bList = signal<B[]>([])
my component show a list of my array items, and clicking a button the list changes, so I develop a ReferenceSignal, to only change that value and avoid duplicity
listReference = signal<WritableSignal<A[] | B[]>>(aList)
i want to ask, is this a good practice? how signals work internally if I have a signal storing a reference to another signals?
thanks