Skip to content

Commit

Permalink
RN: Expose unstable_batchedUpdates on react-native
Browse files Browse the repository at this point in the history
Reviewed By: spicyj

Differential Revision: D5284484

fbshipit-source-id: bdc0a1c3babfa1a5c3343f084bdd5d4ff4f2d46a
  • Loading branch information
yungsters authored and gre committed Jul 3, 2017
1 parent 67e119d commit ee42cd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Libraries/react-native/react-native-implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ const ReactNative = {
get TimePickerAndroid() { return require('TimePickerAndroid'); },
get TVEventHandler() { return require('TVEventHandler'); },
get UIManager() { return require('UIManager'); },
get unstable_batchedUpdates() { return require('ReactNative').unstable_batchedUpdates; },
get Vibration() { return require('Vibration'); },
get VibrationIOS() { return require('VibrationIOS'); },

Expand Down

3 comments on commit ee42cd0

@gre
Copy link
Contributor

@gre gre commented on ee42cd0 Jul 5, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is it not yet in v0.46 ? this fixes a breaking change with react-relay (in its 0.x version)

@hramos
Copy link
Contributor

@hramos hramos commented on ee42cd0 Jul 14, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not in 0.46 because it landed after the release was cut early in June. We're tracking cherry pick candidates in #14713.

@hramos
Copy link
Contributor

@hramos hramos commented on ee42cd0 Jul 14, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like I did cherry pick this change for 0.46.2 earlier, but it's in another commit? 12f945f

Please sign in to comment.