Rendering HTML inside React is dangerous... here is how you can do it dangerously
Channel:
Subscribers:
254,000
Published on ● Video Link: https://www.youtube.com/watch?v=8JItgbxE4_U
If for whatever reason you need to use an HTML string and render it inside a react component, you could use dangerouslySetInnerHTML.
------------
🔔 Newsletter http://eepurl.com/hnderP
🤓 ES6 Udemy Course https://tinyurl.com/yxdvf2zl
🐦 Twitter https://twitter.com/thewebdevjunkie
📷 Instagram https://www.instagram.com/thewebdevjunkie/
💬 Discord https://discord.gg/4kGbBaa
📁. GitHub https://github.com/codyseibert/youtube
Other Videos By Web Dev Cody
Tags:
web development
programming
coding
code
learn to code
tutorial
software engineering
react
html
dangerouslySetInnerHTML
render html in react
reactjs
react accordion
learning about react
react tutorial
react guide
learning react
how to learn react