add TODO notice

This commit is contained in:
Jiiks 2018-03-14 09:43:03 +02:00
parent e73ac58ff3
commit 5f7ddcb8ce
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ class Reflection {
}
static getComponent(node) {
// IMPORTANT TODO Currently only checks the first found component. For example channel-member will not return the correct component
try {
return this.reactInternalInstance(node).return.type;
} catch (err) {