Push to array data signal
mrjjwright opened this issue · 1 comments
mrjjwright commented
Beginner question, awesome library, thanks! If I have a DataSignal<T[]>
and I want to cause it's dependent computations to trigger/change, I assume I have to do the following:
const arr = dataSignal()
arr.push(newValue)
dataSignal(arr)
Is there another or better way to do it?