Issue
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:
Solution
You have to start your project again. Run npx react-native start, than run npx react-native run-ios
Answered By - Alija Fajić
Answer Checked By - Mary Flores (JavaFixing Volunteer)