# React Prop is not getting updated on mount

**URL:** <https://forum.freecodecamp.org/t/react-prop-is-not-getting-updated-on-mount/495718>\
**Category:** Curriculum Help\
**Tags:** javascript\
**Created:** [February 5, 2022, 6:55am UTC](https://forum.freecodecamp.org/t/react-prop-is-not-getting-updated-on-mount/495718 "2022-02-05T06:55:18Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![DanCouper](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/dancouper/32/158608_2.png) [@DanCouper](https://forum.freecodecamp.org/u/DanCouper)\
**Post date:** [February 12, 2022, 4:47pm UTC](https://forum.freecodecamp.org/t/react-prop-is-not-getting-updated-on-mount/495718/3 "2022-02-12T16:47:11Z")

</div>

What are you trying to type into your post here? The forum uses Markdown, which allows raw HTML. So if you try to type something `<ThatLooksLikeHtml>` (for example, code samples making use of JSX) and you don’t use code tags, the forum software will attempt to render that as HTML

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (`</>`) to add backticks around text.

 ![Pre-formatted-text](https://global.discourse-cdn.com/freecodecamp/original/3X/1/b/1b18854f1059217f29370444396145cc3a0cd8ae.gif)

See [this post](https://forum.freecodecamp.org/t/forum-code-formatting/25574) to find the backtick on your keyboard.  
**Note:** Backticks (`) are not single quotes (’).

---

_[View the full topic](https://forum.freecodecamp.org/t/react-prop-is-not-getting-updated-on-mount/495718)._
