It might happen that there is some logic in your app where undefined ends up being inside the component and that will cause a crash. This does not happen on the normal react native Text component.
Here is the crash form inside xcode:
Thread 4: Swift runtime failure: Double value cannot be converted to Int because it is either infinite or NaN
If you have the following component on iOS it will crash:
The following does work without any problems:
It might happen that there is some logic in your app where
undefined
ends up being inside the component and that will cause a crash. This does not happen on the normal react nativeText
component.Here is the crash form inside xcode:
Seems like a division by zero issue to me.