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

ReactComponentClass not work for external components #336

Closed
Katrix opened this issue Mar 2, 2020 · 1 comment · Fixed by #377
Closed

ReactComponentClass not work for external components #336

Katrix opened this issue Mar 2, 2020 · 1 comment · Fixed by #377
Labels
Milestone

Comments

@Katrix
Copy link

Katrix commented Mar 2, 2020

As the title says.

@shadaj shadaj added the bug label Apr 10, 2020
@shadaj
Copy link
Owner

shadaj commented Apr 10, 2020

This is definitely behavior that should be supported and shouldn't be too hard to implement, so I've assigned this to the next milestone. Thanks for the report @Katrix!

In the meantime, ReactComponentClass is just a native JS type so you can grab the .component of the external component and just cast.

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

Successfully merging a pull request may close this issue.

2 participants