SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Fabric: Using proper defaults in Yoga style props parsing

Summary:
@public
Previously, we amitted `default` argument in  `convertRawProp` functions assuming that all default values are equal to results of their default constructors (which was something between "wrong" and "lucky coincidence"). Now we use a `YGStyle` default value as a source of all semantic default values of all layout props/styles.

Reviewed By: mdvacca

Differential Revision: D9626469

fbshipit-source-id: 5cfc9c518772556f59da46f608181145cc744928
V
Valentin Shergin committed
c49f0eff6f5d6d24bdb1b0eb09d714fb59ddfafa
Parent: 294d91b
Committed by Facebook Github Bot <[email protected]> on 9/4/2018, 6:04:20 AM