Skip to content

Commit 4aff218

Browse files
authored
docs(common): Improve common refresh data docs
1 parent 2ba99c0 commit 4aff218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common-features/data-binding/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Some components handle properties with specific names in a predefined way. For e
9393
There are three ways to refresh the component data:
9494

9595
* [Bind the component to Observable data]({%slug common-features-observable-data%}). **This option applies only** if the `Data` parameter is set. The component will refresh automatically when items are **added or removed**.
96-
* Call the component's `Rebind()` method. UI for Blazor version **3.3.0** exposed `Rebind()` for all databound components. Until then, the method was available only for the [components that have an `OnRead` event]({%slug common-features-data-binding-onread%}#components-with-onread-event)
96+
* Call the component's `Rebind()` method. UI for Blazor version **3.3.0** exposed `Rebind()` for all databound components. Until then, the method was available only for the [components that have an `OnRead` event]({%slug common-features-data-binding-onread%}#components-with-onread-event). If the component is databound via `OnRead`, the [`Rebind()` method will fire the `OnRead` event]({%slug common-features-data-binding-onread%}#refresh-data).
9797
* Reset the `Data` parameter reference. Sometimes, you may also need to call `StateHasChanged()` - for example, if the refreshing occurs in `OnAfterRenderAsync`.
9898

9999
The [example below](#example) demonstrates the second and third option.

0 commit comments

Comments
 (0)