Skip to content

kernel-sanders/ReactNative56TextBug

Repository files navigation

In line comments break react-native 56+, as shown below. Removing "This comment breaks the app" allows the app to run. Comments on lines by themselves seem to be ok.

export default class App extends Component<Props> {
  render() {
    return (
      <View style={styles.container}>
        {/* This comment is ok */}
        <Text style={styles.welcome}>Welcome to React Native!</Text> {/* This comment breaks the app */}
        <Text style={styles.instructions}>To get started, edit App.js</Text>
        <Text style={styles.instructions}>{instructions}</Text>
      </View>
    );
  }
}

About

Comments in line break react-native 56+, simple PoC app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published