Binding Large html using innerHTML in angular ssr

I am getting a blog content from api that have a very huge amount of html and need to bind in a div tag in angular SSR. server side rendering is must.

<div [innerHtml]="cmsContent.content! | noSanitizePipe:'html'"></div>

Data are binding but its take too much of time to load in browser.

Is there any alternative way to bind without affecting SSR?

I tried binding with innerHtml and html sanitize but its take too much time to load in browser.

Leave a Comment