Binding Large html using innerHTML in angular ssr

Discussão em 'Angular' iniciado por PUNAM WAGHMARE, Novembro 28, 2024.

  1. 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.

    Continue reading...

Compartilhe esta Página