You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that recently, all core dynamic blocks have migrated away from ServerSideRender in favor of the new HtmlRenderer component.
I have a few custom dynamic blocks currently relying on ServerSideRender, and I would like to update them to use HtmlRenderer if possible. While looking through the core implementation, I noticed it's being imported relatively:
import HtmlRenderer from '../utils/html-renderer';
A couple of questions regarding this:
Is HtmlRenderer considered a public component? Or is it currently intended for internal core use only?
If it is public, what is the correct way to import it into a custom block plugin?
Any guidance on the recommended path forward for custom blocks would be greatly appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I noticed that recently, all core dynamic blocks have migrated away from
ServerSideRenderin favor of the newHtmlRenderercomponent.I have a few custom dynamic blocks currently relying on
ServerSideRender, and I would like to update them to useHtmlRendererif possible. While looking through the core implementation, I noticed it's being imported relatively:A couple of questions regarding this:
HtmlRendererconsidered a public component? Or is it currently intended for internal core use only?Any guidance on the recommended path forward for custom blocks would be greatly appreciated.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions