My react app gets content from Wordpress. The editors can add content to WP's editor where they can style the text and format it.
How do I render this text on the client site with react?
So far I have tried using dangerouslySetInnerHTML, but the name suggests to me that I shouldn't be using it - at least not very often, but all my content comes from Wordpress.
So is there another way of rendering HTML strings in react?