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

The problem of parameter transparency between dash custom components #2814

Closed
insistence opened this issue Mar 26, 2024 · 1 comment · Fixed by #2819
Closed

The problem of parameter transparency between dash custom components #2814

insistence opened this issue Mar 26, 2024 · 1 comment · Fixed by #2819

Comments

@insistence
Copy link
Contributor

I have two dash components A and B based on the react component encapsulation. In react, component A will automatically pass parameters to its child components. Assuming component B is now a child of component A, how can component B receive the parameters passed by component A in the dash?

@RenaudLN
Copy link
Contributor

RenaudLN commented Apr 3, 2024

I don't think you'll be able to pass props directly to children component, you could however use React context to pass data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants