What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-05 09:55:02
react native text strings must be rendered within a text
For me the following code works fine, as long as this.state.error === undefined or it is not an empty string. render() { return ( <View> {this.state.error && <Text> Error message: {this.state.error} ... Add solution