# React version 16.2.0

**URL:** <https://forum.freecodecamp.org/t/react-version-16-2-0/196461>\
**Category:** General\
**Created:** [June 4, 2018, 4:16pm UTC](https://forum.freecodecamp.org/t/react-version-16-2-0/196461 "2018-06-04T16:16:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jennnico](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jennnico/32/97380_2.png) [@jennnico](https://forum.freecodecamp.org/u/jennnico)\
**Post date:** [June 4, 2018, 4:16pm UTC](https://forum.freecodecamp.org/t/react-version-16-2-0/196461/1 "2018-06-04T16:16:57Z")

</div>

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.

> **[Professional Portfolio](https://codepen.io/jennnico/pen/gzWJMK?editors=1010)**
>
> ...

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

---

<div class="post-metadata">

**Author:** ![kevinSmith](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kevinsmith/32/72934_2.png) [@kevinSmith](https://forum.freecodecamp.org/u/kevinSmith)\
**Post date:** [June 4, 2018, 4:22pm UTC](https://forum.freecodecamp.org/t/react-version-16-2-0/196461/2 "2018-06-04T16:22:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![JM-Mendez](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jm-mendez/32/33681_2.png) [@JM-Mendez](https://forum.freecodecamp.org/u/JM-Mendez)\
**Post date:** [June 4, 2018, 4:31pm UTC](https://forum.freecodecamp.org/t/react-version-16-2-0/196461/3 "2018-06-04T16:31:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jennnico](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jennnico/32/97380_2.png) [@jennnico](https://forum.freecodecamp.org/u/jennnico)\
**Post date:** [June 4, 2018, 5:10pm UTC](https://forum.freecodecamp.org/t/react-version-16-2-0/196461/4 "2018-06-04T17:10:03Z")

</div>

Thanks! Got it working, again!

---

<div class="post-metadata">

**Author:** ![Randore](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/randore/32/158932_2.png) [@Randore](https://forum.freecodecamp.org/u/Randore)\
**Post date:** [June 4, 2018, 5:47pm UTC](https://forum.freecodecamp.org/t/react-version-16-2-0/196461/6 "2018-06-04T17:47:51Z")

</div>

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 ¢

---

<div class="post-metadata">

**Author:** ![jennnico](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jennnico/32/97380_2.png) [@jennnico](https://forum.freecodecamp.org/u/jennnico)\
**Post date:** [June 4, 2018, 6:02pm UTC](https://forum.freecodecamp.org/t/react-version-16-2-0/196461/7 "2018-06-04T18:02:51Z")

</div>

Thank you! I will try those out!

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:20pm UTC](https://forum.freecodecamp.org/t/react-version-16-2-0/196461/8 "2021-01-17T20:20:02Z")

</div>

Closed on January 17, 2021, 8:20pm UTC


