From ac6abbe1fe1c8364a95ed401a61493ec2274389e Mon Sep 17 00:00:00 2001 From: Jasperator <55495886+Jasperator@users.noreply.github.com> Date: Wed, 23 Aug 2023 21:25:50 +0200 Subject: [PATCH] Fix wrong reference to mount method --- src/LiveComponent/doc/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LiveComponent/doc/index.rst b/src/LiveComponent/doc/index.rst index 7019a366329..eb884847698 100644 --- a/src/LiveComponent/doc/index.rst +++ b/src/LiveComponent/doc/index.rst @@ -2506,7 +2506,7 @@ changes, the child will make a second Ajax request to re-render itself. To work, the name of the prop that's passed when rendering the ``TodoFooter`` component must match the property name that has the ``updateFromParent`` - e.g. ``{{ component('TodoFooter', { count: todos|length }) }}``. If you pass in a - different name and set the ``count`` property via a ref:``mount()`` method, the + different name and set the ``count`` property via a `mount() `_ method, the child component will not re-render correctly. Child components keep their modifiable LiveProp values