Skip to content

Commit ad476bb

Browse files
committed
minor #1067 Fix wrong reference to mount method (Jasperator)
This PR was merged into the 2.x branch. Discussion ---------- Fix wrong reference to mount method | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | License | MIT There was a reference to a not existing mount method in the ux live component documentation. This should be a link that leads to the mount method in the ux twig documentation. Commits ------- ac6abbe Fix wrong reference to mount method
2 parents 1df584a + ac6abbe commit ad476bb

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)