If you are getting the error `Property body[42] of BlockStatement expected node to be of a type ["Statement"] but instead got "AssignmentExpression"`

If you are getting the error Property body[42] of BlockStatement expected node to be of a type ["Statement"] but instead got "AssignmentExpression"

See this GitHub issue for ways to deal with it.

This is a known issue caused by a bug in a newly released version of Babel. It will impact all new react-native and Expo apps. You can resolve it with yarn resolutions in a new project.