-
GoalThe goal is to achieve a dynamic GestureHandler on a state having multiple text values stored on a button press. ProblemCurrently, GestureHandler is not rendering on loop (map) Code` ` |
Beta Was this translation helpful? Give feedback.
Answered by
anovius
Aug 1, 2023
Replies: 1 comment 1 reply
-
|
I have resolved this by making a matrix in the child component using useValue(Skia.Matrix()) hook and passing and setting up a state of an array of matrixes in the parent component. Here are some codes snippets that might help. Canvas.jsx` ` TextSticker.jsx` ` |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
anovius
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

I have resolved this by making a matrix in the child component using useValue(Skia.Matrix()) hook and passing and setting up a state of an array of matrixes in the parent component. Here are some codes snippets that might help.
Canvas.jsx
`