Minor code improvements for RCTTextInput

Summary: Expose hasUnseenUpdates in ReactShadowNode. Various text input cleanup and fixes.

Differential Revision: D2975870

fb-gh-sync-id: 26c4c0d36e82aaa025b4760603cc48c47ebf46a3
shipit-source-id: 26c4c0d36e82aaa025b4760603cc48c47ebf46a3
This commit is contained in:
Ahmed El-Helw 2016-02-29 16:42:21 -08:00 committed by Facebook Github Bot 4
parent f130a365e6
commit 9be1216c7f
1 changed files with 4 additions and 0 deletions

View File

@ -105,6 +105,10 @@ public class ReactShadowNode extends CSSNode {
}
}
public boolean hasUnseenUpdates() {
return mNodeUpdated;
}
@Override
protected void dirty() {
if (!isVirtual()) {