Litho UIImplementation

Reviewed By: marco-cova

Differential Revision: D5880274

fbshipit-source-id: e6741579d3de6090dea8d26cd07241d57adba84d
This commit is contained in:
Andrew Chen (Eng)
2017-10-04 08:23:09 -07:00
committed by Facebook Github Bot
parent d07279c978
commit 7677af1d10
3 changed files with 8 additions and 7 deletions

View File

@@ -330,8 +330,10 @@ import javax.annotation.Nullable;
*/
/*package*/ static Map<String, PropSetter> getNativePropSettersForShadowNodeClass(
Class<? extends ReactShadowNode> cls) {
if (cls == ReactShadowNodeImpl.class) {
return EMPTY_PROPS_MAP;
for (Class iface : cls.getInterfaces()) {
if (iface == ReactShadowNode.class) {
return EMPTY_PROPS_MAP;
}
}
Map<String, PropSetter> props = CLASS_PROPS_CACHE.get(cls);
if (props != null) {