Bom dia. Estou pegando uma resposta recebida por uma API na minha aplicação React, no entanto, tal resposta é uma array contendo string's com elementos html:
0
"<p>This Emmy winning series is a comic look at the assorted humiliations and rare triumphs of a group of girls in their 20s.</p>"
1
"<p><b>Good Girls</b> follows three \"good girl\" suburban wives and mothers who suddenly find themselves in desperate circumstances and decide to stop playing it safe, and risk everything to take their power back.</p>"
2
"<p>The city of Townsville may be a beautiful, bustling metropolis, but don't be fooled! There's evil afoot! And only three things can keep the bad guys at bay: Blossom, Bubbles and Buttercup, three super-powered little girls, known to their fans (and villains everywhere) as <b>The Powerpuff Girls</b>. Juggling school, bedtimes, and beating up giant monsters may be daunting, but together the Powerpuff Girls are up to the task. Battling a who's who of evil, they show what it really means to \"fight..."
3
"<p>Imagine a night in with four girls. Now imagine doing that for four years. In a building full of girls that is a Girl's Hostel. Live the Dushmani, the Dosti, the Pyaar, the Bhasad.</p>"
Se eu usar o método map para escrever tais textos na minha tela, os elementos também aparecerão, logo, pensei em usar o querido innerHTML, mas estou no JSX. O que eu tenho que fazer para resolver isso?
OBS: Já tentei usar o dangerouslySetInnerHTML mas não funcionou.