Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wrong reference to mount method #1067

Merged
merged 1 commit into from
Aug 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/LiveComponent/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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() <https://symfony.com/bundles/ux-twig-component/current/index.html#the-mount-method>`_ method, the
child component will not re-render correctly.

Child components keep their modifiable LiveProp values
Expand Down
Loading