79599407

Date: 2025-04-30 01:35:11
Score: 0.5
Natty:
Report link
  const sayHello = useRunOnJS((name: string) => {
    console.log(`Hello ${name}, I am running on the JS Thread!`);
  }, []);

And then

const frameProcessor = useFrameProcessor(
    async (frame) => {
      'worklet';

       sayHello('Matheus');
})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Matheus Santos Araújo