I already followed every steps of the instruction but the browser won’t display anything.
There is no walkthrough video to guide us for debugging.
No one posted anything about this project in the forum.
Anyone if you can find the bug please I really appreciate your feedback.
Here is the code.
I just had to compare my code file by file with yours and change mine to do the exports in the same way and now mine works… But what I don’t understand is why mine didn’t work before as there should be no difference between
import { App } from './App';
// and
import App from './App';
or even
export default function App() {
}
// versus
function App() {
}
export default App;
Just wanted to post on here in case anyone else is stuck in the same way I was!
I also followed all the instructions but nothing ended up rendering. After a while of trying to figure it out and looking at other people’s code, I realised I had a problem with my App.js function declaration:
I was trying to return JSX within the mapping method like this: