8:36-39 "export 'default' (imported as 'App') was not found in './App'
Anyone experience this issue? I'm trying to do the files manually as they are being shown in the commits, but when I run the server i'm getting this error! Please help!
this is my app.js file:
import React, { Component } from 'react';
class App extends Component {
render() {
return (
<div>
Hello World
</div>
)
}
}
This is my index.js file:
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import registerServiceWorker from './registerServiceWorker';
ReactDOM.render(<App />, document.getElementById('root'));
registerServiceWorker();
8:36-39 "export 'default' (imported as 'App') was not found in './App'
Anyone experience this issue? I'm trying to do the files manually as they are being shown in the commits, but when I run the server i'm getting this error! Please help!
this is my
app.js
file:This is my
index.js
file: