React version 16.2.0

While working on CodePen, I mistakenly updated to the newest version of React (16.2.0). I had the pen working with an older version (15.6.1), but now nothing will render.

Please let me know if you can figure out my mistake. Thanks!

You can go into the settings/javascript/Add External Scripts/Pens and tell it whatever cdn to whatever version you want.

If you’re using chrome browser, right click and select inspect. Check the console for errors and you’ll see a few

Uncaught TypeError: Cannot read property ‘version’ of undefined

This happens with react 15 or 16 when I tried it. You’ll have to troubleshoot why

Thanks! Got it working, again!

Some improvements can be done in your code.

  1. remove height and add min-height for .show-grid class.
  2. You are using the ReactBootstrap library so use pre-existing classes don’t write separate CSS styles.

example:
Add circle attribute to img tag.

<img id="photo" circle src='your-pic' />

Just my 2 ¢

Thank you! I will try those out!