Subscribe to
Given the derive signal
feedback
is there a way obtain which index in the array was modified when the feedback
is trigger.12 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
import $TRACK from solid I think
seems like all $TRACK is though is just a symbol
So you can also try this wouldn't work, as the original doesn't create a symbol in the global store
export const $TRACK = Symbol("solid-track");
store.fb[Symbol.for("solid-track")]
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
does $TRACK get compiled?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
then you would have to import it right?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
ah ok let me see
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
ok so then $TRACK as any would be required
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Wow that got deep. This was along the lines of what I was trying. I had state associated with a list that I was trying to trigger logic on. I need to know what changed and how it changed. After looking at the problem for too long I missed that it was easier to put the logic on the setter side. Thanks for the help.