How would I take a string, and convert it to jsx? For example, if I bring in a string from a textarea, how could I convert it to a React
jsx
textarea
React
You can consider using the React attribute dangerouslySetInnerHTML:
dangerouslySetInnerHTML
class YourComponent{ render() { someHtml = 'blablablaanother blbla' return ( ) } }
another blbla