-
Hi, first of all, thanks for this amazing work ! So, I can't figure out how to use a SkiaValue in another component, how to "export a SkiaValue". I've tried to use a combination of Jotai atoms and the createValue() function from the Skia API, without success. Is there a possibility to do this ? An example would be a React component updating SkiaValues from touches inputs, and another one reading those values to interact with the Canvas. Thanks ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Ok nevermind, it's late here .. I realise that I can just define a const with the createValue() api function and export it to use the value in another component. |
Beta Was this translation helpful? Give feedback.
Ok nevermind, it's late here ..
I realise that I can just define a const with the createValue() api function and export it to use the value in another component.