how to use hooks react
const App = () => {
const [students , setStudents] = useState([]);
return (
// put in the jsx code here
)
}
how to use hooks react
const App = () => {
const [students , setStudents] = useState([]);
return (
// put in the jsx code here
)
}
onpress not working with usestate react native
<View style={styles.container}>
<Text>{outputText}</Text>
<Button title="Change text" onPress={() => setoutputText('Open up App.js to start working on your app!')}></Button>
{/* <StatusBar style="auto" /> */}
</View>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us