From 196d0fc83513e9971c7b076c3d5438f51a1ac7a4 Mon Sep 17 00:00:00 2001 From: Krzysztof Jeske Date: Sun, 5 Oct 2025 21:31:09 +0200 Subject: [PATCH] Add SkipOutput method on HydroComponent to make it possible to conditionally skip the output. --- docs/content/features/events.md | 46 ++++++++++++++++++++++++--------- src/HydroComponent.cs | 20 ++++++++++---- 2 files changed, 49 insertions(+), 17 deletions(-) diff --git a/docs/content/features/events.md b/docs/content/features/events.md index 967f6a6..a3c523f 100644 --- a/docs/content/features/events.md +++ b/docs/content/features/events.md @@ -87,7 +87,9 @@ public class ProductList : HydroComponent } ``` -In this case using a Hydro action might be an overkill, since it will cause an unnecessary additional request and rendering of the component. To avoid that, you can dispatch actions straight from your client code by using `Model.Client.Dispatch`: +In this case using a Hydro action might be an overkill, since it will cause an unnecessary additional request and +rendering of the component. To avoid that, you can dispatch actions straight from your client code by using +`Model.Client.Dispatch`: ```razor