-
Notifications
You must be signed in to change notification settings - Fork 169
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
feat: Flow components as children for ReactAdapterComponent #19434
Conversation
Add support for having Flow Components as children in a ReactAdapoterComponent Fixes #19379
flow-react/src/main/java/com/vaadin/flow/component/react/ReactAdapterComponent.java
Outdated
Show resolved
Hide resolved
Review fixes. Cleanup. Expand test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Works as expected. Manually tested even ReactAdapterComponent inside a ReactAdapterComponent case works.
@@ -118,6 +129,10 @@ export abstract class ReactAdapterElement extends HTMLElement { | |||
this.#maybeRenderRoot(); | |||
} | |||
|
|||
public addReadyCallback(id: string, readyCallback: ReadyCallbackFunction) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing JSdoc on the public method. Should this be marked as internal in JSdoc, perhaps?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Quality Gate passedIssues Measures |
Add support for having Flow Components
as children in a ReactAdapoterComponent
Fixes #19379