Closed DanielMSchmidt closed 5 years ago
@DanielMSchmidt thanks for your PR. I'll test it out and merge if successful.
@DanielMSchmidt I tested with RN 0.57.3 and didn't receive the type error you showed. Could you tell What version were you using please?
So I tested it with a react-native init
created app with 0.57.2. I uploaded it here: https://github.com/DanielMSchmidt/solidaritytestproject and I am 100% certain I did nothing fancy with it 😇
Thanks for your patience, @DanielMSchmidt. We were out last week at our yearly retreat. I tested this again and it worked. I'm just going to see if anyone else wants to review before I merge.
@GantMan Sorry for the prettier 🙈 I really need to disable it by default :D
Newer RN versions use the
syntax which was not supported and lead to an immediate exit.
Without the fix this error got thrown:
My prettier went a bit through the roof, if that's not cool I can redo the changes without prettier being active.