Skip to content

Commit ac6abbe

Browse files
authored
Fix wrong reference to mount method
1 parent 2609c67 commit ac6abbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LiveComponent/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2506,7 +2506,7 @@ changes, the child will make a second Ajax request to re-render itself.
25062506
To work, the name of the prop that's passed when rendering the ``TodoFooter``
25072507
component must match the property name that has the ``updateFromParent`` - e.g.
25082508
``{{ component('TodoFooter', { count: todos|length }) }}``. If you pass in a
2509-
different name and set the ``count`` property via a ref:``mount()`` method, the
2509+
different name and set the ``count`` property via a `mount() <https://symfony.com/bundles/ux-twig-component/current/index.html#the-mount-method>`_ method, the
25102510
child component will not re-render correctly.
25112511

25122512
Child components keep their modifiable LiveProp values

0 commit comments

Comments
 (0)