You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there an easy way to set the torch on and off using a react method (using a useRef) and not the props ?
The props trigger a render that I don't want. I want to play with the torch without any render.
What Platforms whould this feature/enhancement affect?
Hey - nope, it is a prop. You can use Reanimated SharedValues if you want to avoid triggering a re-render, although a re-render isn't as bad as it sounds (unless your component is not organized very well)
What feature or enhancement are you suggesting?
Hi,
Is there an easy way to set the torch on and off using a react method (using a useRef) and not the props ?
The props trigger a render that I don't want. I want to play with the torch without any render.
What Platforms whould this feature/enhancement affect?
iOS, Android
Alternatives/Workarounds
Set the props is too slow
Additional information
The text was updated successfully, but these errors were encountered: