mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Fabric: Debug Pretty-printing is now debug only feature
Summary: That should save us some app size kilobytes. Reviewed By: mdvacca Differential Revision: D10081499 fbshipit-source-id: 2b950768c609b412f9be332c22b6b1e96657e5ea
This commit is contained in:
1 parent
02ad56f541
commit
e3b61f53bd
39 files changed
+102
-31
No files matched your search
@@ -10,6 +10,8 @@
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
|
||||
#if RN_DEBUG_STRING_CONVERTIBLE
|
||||
|
||||
std::string DebugStringConvertible::getDebugChildrenDescription(DebugStringConvertibleOptions options, int depth) const {
|
||||
if (depth >= options.maximumDepth) {
|
||||
return "";
|
||||
@@ -86,5 +88,7 @@ SharedDebugStringConvertibleList DebugStringConvertible::getDebugProps() const {
|
||||
return SharedDebugStringConvertibleList();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
} // namespace react
|
||||
} // namespace facebook
|
||||
Reference in new issue
Block a user