is there is bugs in initial project?
imspikey opened this issue · 0 comments
imspikey commented
In the main web index.js
import {
Platform,
StyleSheet,
ReactNative,
Text,
View
} from 'react-native';
....
ReactNative.render(<App />, document.getElementById('root'));
is this a bug in the code or Im missing somthing??!
the web code didn't run until I changed the index.js to this =>
import ReactDOM from 'react-dom'; ... ReactDOM.render(<App />, document.getElementById('root'));
also the app.js component had ReactNative as an import too and didnt include any export?!
Is this bugs or Im missing somthing?!