React not rendering

Tell us what’s happening:
What stops my code from rendering? I’ve been trying to use extremely basic knowledge i’ve learned from the Front End Libraries course React section, but it just doesn’t seem to render. Am i doing something wrong or missing something?

Your code so far

Two things:

  • You need to use the babel JS preprocessor
  • return on a line by itself does just that, it returns immediately
1 Like

Thanks, i’ll look into babel JS. What do you mean about return? Isn’t that how i replace the ‘challenge-node-root’ div?

MDN: Automatic semicolon insertion

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.