dangerously-set-html-content-v1
dangerously-set-html-content-v1 copied to clipboard
Does not render HTML on SSR pages
Hi,
I am using Gatsby in the frontend and I had used this package in order to display article content which also had Instagram, Twitter embedded scripts codes.
Here are the code snippet (I had added static text)
Now on the gatsby build (SSR). I don't find any article content on checking that build pages or running that page by disabling JS from chrome dev tools.
Here is the dom element snippet (JS disabled)
We also need this functionality of server side rendering, please help how to fix this bug ?
I'm really sorry about this, this feature is only meant to work on a client environment, so the normal behavior will be nothing in there while doing SSR.