mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
adaeba296e
Summary: This relied on NaN being turned into null (through JSON.stringify), which would then be handled by Yoga gracefully. But in some cases we do not call JSON.stringify and thus pass NaN directly to Yoga causing a problem. Reviewed By: fkgozali Differential Revision: D9764488 fbshipit-source-id: 021c9ffafba8f9bcef2476756a12df33c367bcb1