-
Notifications
You must be signed in to change notification settings - Fork 175
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
Support content elements in React adapter #19379
Labels
Comments
caalador
added a commit
that referenced
this issue
May 23, 2024
Add support for having Flow Components as children in a ReactAdapoterComponent Fixes #19379
caalador
added a commit
that referenced
this issue
Jun 4, 2024
Add support for having Flow Components as children in a ReactAdapoterComponent Fixes #19379
This ticket/PR has been released with Vaadin 24.5.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add support for adding Flow components as children to ReactAdapterComponent.
Implementation idea:
useContent(name: string)
ReactAdapterElement hook, supports rendering a DOM placeholder in Reactprotected Element getContentElement(String name)
Java ReactAdapterComponent method, that creates and returns the named container element.Prototype: https://github.com/vaadin/flow-hilla-hybrid-example/tree/proto/flow-react-children
The first implementation could use two DOM wrapper elements, each with style "display: contents;".
The text was updated successfully, but these errors were encountered: