diff --git a/website/docs/concepts/components/properties.md b/website/docs/concepts/components/properties.md index 528ed0b35f5..11633cfa93f 100644 --- a/website/docs/concepts/components/properties.md +++ b/website/docs/concepts/components/properties.md @@ -37,11 +37,6 @@ For example, to default a boolean prop to `true`, use the attribute `#[prop_or(t Call `function` to initialize the prop value. `function` should have the signature `FnMut() -> T` where `T` is the field type. -:::warning -The function is currently called even if the prop is explicitly set. If your function is performance intensive, consider using `Option` where `None` values are initialized in the `create` method. -See [#1623](https://github.com/yewstack/yew/issues/1623) -::: - ## PartialEq It makes sense to derive `PartialEq` on your props if you can do so. diff --git a/website/versioned_docs/version-0.18.0/concepts/components/properties.md b/website/versioned_docs/version-0.18.0/concepts/components/properties.md index 528ed0b35f5..11633cfa93f 100644 --- a/website/versioned_docs/version-0.18.0/concepts/components/properties.md +++ b/website/versioned_docs/version-0.18.0/concepts/components/properties.md @@ -37,11 +37,6 @@ For example, to default a boolean prop to `true`, use the attribute `#[prop_or(t Call `function` to initialize the prop value. `function` should have the signature `FnMut() -> T` where `T` is the field type. -:::warning -The function is currently called even if the prop is explicitly set. If your function is performance intensive, consider using `Option` where `None` values are initialized in the `create` method. -See [#1623](https://github.com/yewstack/yew/issues/1623) -::: - ## PartialEq It makes sense to derive `PartialEq` on your props if you can do so.