Feedback on my Markdown Previewer would be greatly appreciated:
I created this app for a freeCodeCamp Build a Markdown Previewer Front End Libraries Project.
This was my first React app (exciting!), plus I’m slowly getting to grips with using Sass.
For parsing the Markdown, I used the Marked library. I also used the DOMPurify library for sanitizing the HTML string that Marked returns, as this seems to be recommended as best practice for mitigating XSS attacks. However, I not sure how necessary doing so is in this context?