i am beginner at React Native.yesterday i wrote a Hello World code then i printed. it's worked.then i tried to update my code just like this:
import {View,Text} from "react-native";
function App()
{
return (<View>
<Text>Hello World</Text>
<Text>Hello World2</Text>
</View>)
}
export default App;
Now i have error like this:
CodePudding user response:
You have to start your project again. Run npx react-native start, than run npx react-native run-ios