mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-02 14:54:58 +08:00
Litho UIImplementation
Reviewed By: marco-cova Differential Revision: D5880274 fbshipit-source-id: e6741579d3de6090dea8d26cd07241d57adba84d
This commit is contained in:
committed by
Facebook Github Bot
parent
d07279c978
commit
7677af1d10
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user