Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[console] Serialize logged objects only two levels deep instead of 10
Some objects that are both wide and deep like React FiberNodes can't be serialized reasonably when going down 10 levels deep. We address this in our pretty-format plugin in the Expo remote console, but RN's console polyfill doesn't deal with FiberNodes. Printing objects just two levels deep addresses this issue while still logging deeper objects to the Expo remote console and to the native console if one exists.
- Loading branch information