Replies: 3 comments
-
i have the same problem here. when i create SharedValue inside loops, then get the React error Is there a way to create SharedValues without useSharedValue hook? |
Beta Was this translation helpful? Give feedback.
-
Same here. I want to create sharedvalue foreach item in array. How can I do this without using hook? @kmagiera |
Beta Was this translation helpful? Give feedback.
-
I have the same problem. I found a solution but i don't know if it is the best:
I used it with redux and it works. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a case where I want to update SharedValues from Redux Saga. I don't want to re-render the React components because it is a heavy operation. I want to update their UI attributes (e.g. position, Z index) directly from Redux Saga code.
Is there a way to create SharedValues without
useSharedValue
hook? I would like to create SharedValues in Saga code and let the React components use them.Beta Was this translation helpful? Give feedback.
All reactions