Jammming, and pain

Having a rough time with the Jammming project so going to come back to it.

Set up my React project, linked to GitHub, created little component folders, made a little ‘Jammming’ header and changed the background colour, all going so well, and now a test App component with a simple h2 header won’t even render.

It’s baffling as I’ve made sure to export it, the syntax is standard, it uses the root.render already in there, and it’s imported at the other end using the proper components subfolder address for the .js file (with the now-spare App.js file that came with the prefab React project removed).

It’s getting me down to be honest and I’m not learning much so hoping to come back to it another time, hopefully when experience will smoothen things out.

Tempted to strip it all right down to an index.html file and build up from there, but not today.

I realise there’s a walkthrough out there in the ether but not sure it’s in the spirit of the course.

Correction: the simple h2 component does render, but I needed to run it via npm start rather than just running the index.html in the liveserver as usual. It’s a start.