Skip to content

Commit

Permalink
Remove debug console messages
Browse files Browse the repository at this point in the history
  • Loading branch information
YuriyDurov committed Oct 15, 2024
1 parent b0c8986 commit fa85734
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ internal void OnRenderStarted()
{
_hasPendingQueuedRender = false;
_hasNeverRendered = false;

Console.WriteLine($"{Component.GetType().Name}: Render");
}

internal void OnRendered()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ public override void Attach(RenderHandle renderHandle)
base.Attach(renderHandle);
// TODO: Dotnet 9
//_shouldPersistState = Handle.RendererInfo.Name == "Static";
//Console.WriteLine($"\n{Component.GetType().Name}: Rendering page, renderer: {Handle.RendererInfo.Name}");
_shouldPersistState = RendererInfo.Name == "Static";
Console.WriteLine($"\n{Component.GetType().Name}: Rendering page, renderer: {RendererInfo.Name}");
}

internal override void BuildRenderTree(RenderTreeBuilder builder)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ internal class PersistentComponentStateComposer(

private JsonObject? SerializeStateNode(PersistentComponentBase component)
{
Console.WriteLine($"Serializing state node: {component.GetType().Name}");

var node = new JsonObject();

// Serialize properties
Expand Down

0 comments on commit fa85734

Please sign in to comment.