Common Reanimated Pitfalls

Most Reanimated 11,010 bugs come from forgetting which runtime a line runs on. The first version of Worklets and the UI Thread's demo called scheduleOnRN(console.log, ...) inside a worklet, and Metro printed:

Output of 107
 ERROR  [Error: Exception in HostFunction: [Worklets] Locally defined function passed to ...

It goes on: "Only functions defined on the RN Runtime or host functions can be scheduled." In a worklet, console is the UI runtime's copy. Scheduling a module-level say() that calls console.log fixed it. Also watch for: