Steph
@assydcrypto
Tip of the day #22 - ReactJS display HTML Do you know that in ReactJS you can super easily render HTML code stored in a variable ? I found a magic package for that : html-react-parser. Just « import parse from 'html-react-parser’; » And « parse(any_variable_containing_html) » in your react code, that's it ! Have fun, stay safe and be nice until next time, cheers ! 🤘🏼🍻 #javascript #Node #reactjs #CSS #html
0 reply
0 recast
8 reactions