Issue

<p>This is one of the most accurate answers that is able to resolve the birthday of 29th of Feb compared to any year of 28th Feb.
</p>\n\n
<pre class=\ "lang-cs prettyprint-override\">
<code>public int GetAge(DateTime birthDate)\n
I want to develop on my display page of answers and using this tags from API for building page.
Solution
See ReactJS dangerously set inner html
import React from 'react';
import { render } from 'react-dom';
const htmlString = '<h1>Hello World! 👋</h1>';
const App = () => (
<div dangerouslySetInnerHTML={{ __html: htmlString }} />
);
render(<App />, document.getElementById('root'));
good luck.
Answered By - Ali Alizadeh
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.