How to parse string HTML using javascript?

تبليغ
سؤال

يرجى شرح بإيجاز لمإذا تشعر أنك ينبغي الإبلاغ عن هذا السؤال.

تبليغ
‎إلغاء

I have response data in form of:

‘<b>How can I waive the underage fee?</b><br>n You … have marked your age correctly before searching.’

So the question is, how can I use that data in React Component?
I have to use it between two divs. Given data is string form of html syntax.

‫أضف إجابة

تصفح
تصفح

مجهول يجيب