I'm new to React js and I'm getting data from an API that I want to display on the page. However the string I would like to display has HTML tags inside the string. example:
"<p>Portal 2 is a first-person puzzle game.</p> <p>Its plot directly follows the first game's, taking place in the Half-Life universe.</p> <br />"
How would I go about displaying this on the page, so that it automatically turns the HTML tags into the formatting it's supposed to be, like this:
"
Portal 2 is a first-person puzzle game.
Its plot directly follows the first game's, taking place in the Half-Life universe.
"
Note: I prefer to stay away from Jquery. I'd like the code to be written in an easy to understand way, as I'm still learning.