react-native/Libraries/StyleSheet
Sebastian Markbage ac5b7548d2 Refactor Attribute Processing (Step 3)
Summary: Decouple processStyle from the main reconciliation. It is now a process
extension to the style attribute `transform`. This effectively decouples a
large portion of special cases and helper dependencies from the reconciler.

The transform attribute becomes translated into the transformMatrix attribute on
the native side so this becomes a little weird in that I have to special case
it. I don't think it is worth while having a general solution for this so I
intend to rename the native attribute to `transform` and just have it accept the
resolved transform. Then I can remove the special cases.

The next step is generalizing the flattenStyle function and optimizing it.

@​public

Reviewed By: @vjeux

Differential Revision: D2460465

fb-gh-sync-id: 243e7fd77d282b401bc2c028aec8d57f24522a8e
2015-10-06 10:28:41 -07:00
..
__tests__ Make processColor more efficient 2015-10-05 10:15:34 -07:00
EdgeInsetsPropType.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
LayoutPropTypes.js Flexbox docs 2015-09-16 15:23:01 -07:00
PointPropType.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
StyleSheet.js Remove duplicate word 2015-04-09 08:48:22 -08:00
StyleSheetPropType.js Flowify Libraries/StyleSheet and Libraries/Text 2015-03-24 16:22:59 -08:00
StyleSheetRegistry.js Flowify Libraries/StyleSheet and Libraries/Text 2015-03-24 16:22:59 -08:00
StyleSheetTypes.js [Flow] Clean up react-native for Flow v0.15.0 2015-09-04 16:51:18 -08:00
StyleSheetValidation.js [ReactNative] Add overflow to the whitelisted Image props 2015-07-27 11:06:27 -08:00
TransformPropTypes.js Refactor Attribute Processing (Step 3) 2015-10-06 10:28:41 -07:00
flattenStyle.js [Flow] Clean up react-native for Flow v0.15.0 2015-09-04 16:51:18 -08:00
processColor.js Make processColor more efficient 2015-10-05 10:15:34 -07:00
processTransform.js Refactor Attribute Processing (Step 3) 2015-10-06 10:28:41 -07:00
styleDiffer.js Flowify Libraries/StyleSheet and Libraries/Text 2015-03-24 16:22:59 -08:00