diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/StaticComponent.cs b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/StaticComponent.cs index 449fea9299..47cb46d70d 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/StaticComponent.cs +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/StaticComponent.cs @@ -1,5 +1,11 @@ -namespace Boilerplate.Client.Core.Components; +using static System.Net.WebRequestMethods; +namespace Boilerplate.Client.Core.Components; + +/// +/// To prevent rendering recursion into a particular subtree use this component as base class. +/// +/// public class StaticComponent: ComponentBase { protected override bool ShouldRender() => false;