Closed karlhorky closed 1 year ago
Ok, so I didn't really get a clear answer from any maintainers there, but I just started a new React Native app just now (npx react-native init
with react-native@0.70.1
) to confirm this and confirmed empty strings outside of <Text>
components do not cause this error:
Whereas a string with content in it does (this also applies to numbers):
Repo: https://github.com/karlhorky/react-native-empty-string-outside-text-component
So it probably still makes sense to link to those React Native links, closing.
Seems like React Native doesn't error out with empty strings anymore? https://twitter.com/karlhorky/status/1576958348288987137
Feel free to close if I'm wrong on this somehow. If I'm wrong, sorry for the noise!