TIL that the React Compiler effectively turns all props etc into a useMemo call

This makes sense when considering the nature of the compiler, but isn’t immediately obvious without using the playground

I learned this because we had an undefined access bug in a render prop that started throwing errors with the compiler, since all “dependencies” are evaluated on first render

We ended up solving it by converting the original file to Typescript. That kind of rigid syntax checking helps when a follow-up tool will be modifying the end result that much