I’m really new to React Native and I’m wondering how can I hide/show a component. Here’s my test case: <TextInput onFocus={this.showCancel()} onChangeText={(text) => this.doSearch({input: text})} /> <TouchableHighlight onPress={this.hideCancel()}> <View>...
  • June 3, 2022
  • 0 Comments
IT Nursery
I am getting -bash: react-native: command not found error while creating a react-native project. Below are the additional info 1. brew --version homebrew 0.9.9 2 brew info watchman watchman...
  • June 3, 2022
  • 0 Comments