2

有没有办法调试sharedValue的当前.value,像这样?

const progress = useSharedValue(0);

<Animated.Code>
    {() => debug('progress: ', progress.value)}
</Animated.Code>
4

0 回答 0