mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
abd7faf354
Summary: Right now we are using `JSON.stringify` which is very lossy with regards to JavaScript data types like functions, `undefined`, NaN and others. This diff switches the logging on the client side to use `prettyFormat` which is part of Jest. It allows to handle much richer log messages. Reviewed By: gaearon Differential Revision: D16458775 fbshipit-source-id: e1d2c125eb8357a9508521aa15510cb4f30a7fa9