mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Small refactor to log state data during development (#36603)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/36603 Small refactor to log state data during development for preallocation of items Changelog: [Internal] Internal Reviewed By: javache Differential Revision: D44112419 fbshipit-source-id: 290fbf0db3ea3f9863e7c86249dd1e6943556baa
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8a18b53bcd
commit
c76ab8d01d
+4
-1
@@ -82,7 +82,10 @@ public class PreAllocateViewMountItem implements MountItem {
|
||||
.append(" props: ")
|
||||
.append(mProps != null ? mProps : "<null>")
|
||||
.append(" state: ")
|
||||
.append(mStateWrapper != null ? mStateWrapper : "<null>");
|
||||
.append(
|
||||
mStateWrapper != null && mStateWrapper.getStateData() != null
|
||||
? mStateWrapper.getStateData().toString()
|
||||
: "<null>");
|
||||
}
|
||||
|
||||
return result.toString();
|
||||
|
||||
Reference in New Issue
Block a user