runOnJs - state does not update #2798
Unanswered
FrancoTanzarellaEviivo
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Feels a bit wrong doing it like this but it works. Maybe someone can suggest a better way or confirm this is correct?
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a list of items that should change state when they are swiped passed a certain threshold. I'm using runOnJs to call a function to change the state. Now when I swipe an item the first time, it updates it's state but every swipe after that does nothing. Can someone please explain to me what I'm missing here?
`
Beta Was this translation helpful? Give feedback.
All reactions