fluentcms / FluentCMS

ASP.NET Core Blazor Content Management System (CMS)
https://fluentcms.com
MIT License
180 stars 32 forks source link

Text HTML refactor #306

Closed ParsaGachkar closed 10 months ago

ParsaGachkar commented 10 months ago
ParsaGachkar commented 10 months ago

@pournasserian there are multiple solutions to avoid double call for OnInitialized

pournasserian commented 10 months ago

@ParsaGachkar please implement based on the third solution. Then we will review that.

ParsaGachkar commented 10 months ago

@pournasserian there is a problem after removing the second call by checking IHttpContextAccessor.HttpContext.Response.HasStarted all values that were being set in OnInitialized were null! so, i took a hybrid approach of solutions 1 and 3!