A common shorthand for handling potentially empty state / prop entries is:
<View>{this.state.foo && <Text>{this.state.foo}</Text>}</View>
With the latest version (0.1.13) this construct breaks the View with the error message:
A text node cannot be a child of a <View>.
The test in View/index.js tests for typeof item !== 'string', so the error message makes sense, however I think the behavior is unexpected, as passing a false value means (to me at least) "don't render anything".
Before opening a PR, however, I wanted to make sure that this isn't a desired behavior, and if so, what is the alternative syntax to passing a possibly empty value as a
My bad, our code is passing an empty string, not false.
Most helpful comment
My bad, our code is passing an empty string, not false.