Uncaught SyntaxError: expected expression, got '<' at ReactDOM.render

Viewed 51

I have several years experience as a backend dev, but my frontend experience has been limited to very basic bugfixes in an established frontend codebase. So I have been trying to set up a "hello world" one page app using React Bootstrap so I can learn.

I attempted to just copy the set up in the React Bootstrap Basic Example code sandbox, but I am getting the following console error:

Uncaught SyntaxError: expected expression, got '<' index.js:8:16

I have my current code available at this github repo.

Pretty sure I've made some n00b mistake, but I guess a n00b has to start somewhere.

1 Answers
Related