Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

When using preact-compat and preact-redux, components appear as cl in devtools #356

Open
silverlight513 opened this issue Apr 11, 2017 · 0 comments

Comments

@silverlight513
Copy link
Contributor

When using preact-compat and preact-redux in an application all child components of connect appear as <cl> in devtools instead of it's actual displayName.
When running the line $r.constructor on a <cl> component in devtools, it appears that the following line is the cause https://github.com/developit/preact-compat/blob/master/src/index.js#L393.

This issue might be related to #349.

Thanks @robertknight & @developit for help uncovering this issue with me in slack.

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

No branches or pull requests

1 participant