react-native/Libraries/ReactNative
Sebastian Markbage 6c5024ec58 Refactor Attribute Processing (Step 1)
Summary: Concolidate the creation of the "update payload" into
ReactNativeAttributePayload which now has a create
and a diff version. The create version can be used by
both mountComponent and setNativeProps. This means that
diffRawProperties moves into ReactNativeAttributePayload.

Instead of storing previousFlattenedStyle as memoized
state in the component tree, I recalculate it every
time. This allows better use of the generational GC.
However, it is still probably a fairly expensive
technique so I will follow it up with a diff that
walks both nested array trees to do the diffing in a
follow up.

This is the first diff of several steps.

@​public

Reviewed By: @vjeux

Differential Revision: D2440644

fb-gh-sync-id: 1d0da4f6e2bf716f33e119df947c044abb918471
2015-10-06 10:28:27 -07:00
..
__benchmarks__ Refactor Attribute Processing (Step 1) 2015-10-06 10:28:27 -07:00
__tests__ Refactor Attribute Processing (Step 1) 2015-10-06 10:28:27 -07:00
React.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
ReactNative.js RN: Expose React.unstable_batchedUpdates 2015-08-21 15:24:56 -08:00
ReactNativeAttributePayload.js Refactor Attribute Processing (Step 1) 2015-10-06 10:28:27 -07:00
ReactNativeBaseComponent.js Refactor Attribute Processing (Step 1) 2015-10-06 10:28:27 -07:00
ReactNativeBaseComponentEnvironment.js [ReactNative] Rename ReactIOS JS module (and relatives) to ReactNative. 2015-05-13 13:24:35 -07:00
ReactNativeDOMIDOperations.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
ReactNativeDefaultInjection.js [ReactNative] Update core RN modules to work with React 0.14-beta1 2015-07-23 18:07:59 -08:00
ReactNativeEventEmitter.js [ReactNative] Fix ResponderEventPlugin after React upgrade 2015-07-29 02:47:55 -08:00
ReactNativeGlobalInteractionHandler.js [ReactNative] Rename ReactIOS JS module (and relatives) to ReactNative. 2015-05-13 13:24:35 -07:00
ReactNativeGlobalResponderHandler.js [ReactNative] Block native from becoming js responder 2015-06-19 16:30:15 -08:00
ReactNativeMount.js [ReactNative] Fix ResponderEventPlugin after React upgrade 2015-07-29 02:47:55 -08:00
ReactNativeReconcileTransaction.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
ReactNativeStyleAttributes.js Move color processing to JS 2015-09-17 17:20:45 -07:00
ReactNativeTagHandles.js [react_native] JS files from D2163804: [react_native] Add native root tag to createView calls 2015-06-18 05:26:41 -08:00
ReactNativeTextComponent.js [react_native] JS files from D2163804: [react_native] Add native root tag to createView calls 2015-06-18 05:26:41 -08:00
ReactNativeViewAttributes.js [ReactNative][SyncDiff] Add parameter to allow turning on/off off screen rendering for alpha compositing 2015-08-26 15:15:36 -08:00
UIManagerStatTracker.js Revert g90f63f5c6fbbadd3ce6486e65d6fe6f967f56db6: [RN] add allTime vs. perBatch UIManager stats 2015-10-05 17:34:23 -07:00
createReactNativeComponentClass.js Refactor Attribute Processing (Step 1) 2015-10-06 10:28:27 -07:00
findNodeHandle.js [react-native] Add React.findNodeHandle 2015-05-13 13:24:37 -07:00