Interfaces
SharedValueLike
Reanimated value interop used by the compiler.
A value passed to a drawing prop can be a plain JS value or a Reanimated
SharedValue. SharedValues are detected structurally (the same brand check
Reanimated and react-native-skia use) so this package never has to import
Reanimated, keeping it an optional peer dependency.
In the static compile path here we read .value to take a snapshot. The
zero-JS-per-frame animation path (the Reanimated driver) instead has the
scene writer allocate a value slot for each SharedValue, which the native
engine patches on the UI thread.
Type Parameters
T
T
Properties
value
value: T;