How do I run an effect every change except initialization?
I need to run an effect every subsequent change of a signal's value. I just need to skip the first initialization of the signal. I found this answer https://stackoverflow.com/a/78283918 and I implemented it, but it's not triggering on any updates.
4 Replies
this should work if not try reproducing on the playground
Hmmm. Can't seem to reporduce in the playground. Let me check my code again
yeah, you're doing something wrong somewhere, because that absolutely works.
You're right; my signal isn't updating elsewhere in my code. Considering this thread as solved.