What’s happening:
I try to solve the challenge with react and the parser that was recommended in the Problem description.
The html for my Previewer looks fine when I log it to the console, but when I return it for rendering, everything stops beeing rendered and my console tells me that there is a error in my Preview component, but not what type of error.
Everything works fine, if I return the html as a string (line 14 in my js-file) but that is not what I am supposed to do…
Any Idea where I went wrong?
My browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0
Challenge: Front End Development Libraries Projects - Build a Markdown Previewer