Is there an API reference documentation for the library? #1641
-
TL;DR - I am looking for detailed documentation on some of the hooks mentioned in the offical site, such as useLoop. The documentation in the official site https://shopify.github.io/react-native-skia/ has been really useful for getting into and learning about the basics of the library. But in the documentation or YouTube videos I see some built-in tools and hooks, such as Skia.Path and useLoop, but I can't seem to find any detailed API reference documentation for these. Other than the documentation in the official site, are there anymore detailed API reference documentation that I can look at to learn more about the built-in features provided by the library? For some additional context, I am interested in making a game with React Native Skia. I intend to use Expo Go, and be able to run the code both on iOS, Android and on the web. Since I am using Expo Go, I am limited to using Reanimated 2. It would be nice if I can find some more documentation about React Native Skia's built-in animation features, so that I can compare it with Reanimated 2 workflow and decide if I would like to use the built-in features or convert reanimated shared values to skia values via useSharedValueEffect. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Unfortunately we don't have a good API reference documentation yet. In terms of animations, we recommend reanimated since it is indeed better documented and you will find much more resources online on how to use it. |
Beta Was this translation helpful? Give feedback.
Unfortunately we don't have a good API reference documentation yet.
We absolutely welcome third-party contribution for these things.
In terms of animations, we recommend reanimated since it is indeed better documented and you will find much more resources online on how to use it.