christo-pr / dangerously-set-html-content

Render raw html at your own risk! v2
60 stars 8 forks source link

Gatsby: Unhandled Runtime Exception #3

Open glassesUSA opened 2 years ago

glassesUSA commented 2 years ago

image

Recieving this error when trying to change the JS code in the component through state

webbushka commented 7 months ago

@glassesUSA I'm running into this same issue, did you find a workaround?

christo-pr commented 7 months ago

@webbushka I wonder if is an issue with some specific version of Gatbsy, I did ran this on a pretty simple Gatbsy app (back while active developing this) and it was working fine, but I'll be honest with you, I thought Gatbsy was dead now hehehe so I would say, just grab de code of this lib, is really simple, and make your local component, since I think is probably related to some weird bundling issues 👍🏻