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

Redirect react context #10

Open
biels opened this issue Jul 12, 2018 · 0 comments
Open

Redirect react context #10

biels opened this issue Jul 12, 2018 · 0 comments

Comments

@biels
Copy link

biels commented Jul 12, 2018

Currently the tunneled component reads the context of where it is rendered at. It would be useful to redirect the context the same way it is done with props.

If you don't have time to do it, do you think it would be possible?

What about using react portals to render children into DOM nodes rendered and registered by other react components previously? React portals do redirect context. Do you see any potential problem with that?

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

No branches or pull requests

1 participant