react-native-macos/docs
Nick Lockwood 9d0242fdc3 Replace direct access of NativeModules.UIManager with require('UIManager')
Summary:
public
Due to the cross-platform polyfills we have added (and will add in future) to `UIManager.js`, accessing UIManager directly via NativeModules instead of importing the wrapper is discouraged.

This diff fixes a few places where we were doing this inside our own modules.

Note: As a general policy, we should avoid accessing modules via NativeModules anyway. Using wrapper classes allows us to provide static declarations for all the native methods and properties, which can be checked at build time by flow. If we access the modules directly, those interfaces are only known at runtime.

Reviewed By: vjeux

Differential Revision: D2881300

fb-gh-sync-id: 6737358ea8ea6d722cc1941a4b9fa0123a87fc29
2016-01-30 07:36:34 -08:00
..
Accessibility.md Fix typos in ./docs 2015-12-15 18:13:25 +02:00
AndroidBuildingFromSource.md Update AndroidBuildingFromSource.md 2015-12-14 14:32:25 +00:00
AndroidUIPerformance.md fixed various spelling errors 2015-12-10 17:27:46 -06:00
Animations.md Update Animations.md 2016-01-18 13:20:29 +00:00
Colors.md Document colors 2016-01-28 19:37:33 -08:00
CommunicationIOS.md fix a typo of a prop name 2015-12-18 23:50:43 +08:00
Debugging.md Added reference to Frappe, a tool for OS X that easily lets you reload developer tools menu with menubar/tray and hotkey 2016-01-06 12:42:55 -05:00
DevelopmentSetupAndroid.md Added Hyper-V Android Emulator Setup Instructions. Closes #3234 2016-01-11 09:14:59 +13:00
DirectManipulation.md remove Precomputing style 2015-12-31 21:11:47 +08:00
EmbeddedAppAndroid.md update onResume arguments 2016-01-14 20:01:40 +08:00
EmbeddedAppIOS.md Remove npm 2 recommendation 2016-01-18 17:37:32 -08:00
GestureResponderSystem.md Update GestureResponderSystem.md 2015-11-23 18:19:58 +00:00
GettingStarted.md Remove npm 2 recommendation 2016-01-18 17:37:32 -08:00
Images.md Add details about undoing require() image sizing 2016-01-13 11:46:26 -08:00
JavaScriptEnvironment.md Add missing semicolon in example and remove extra one 2015-10-11 00:47:12 +02:00
KnownIssues.md AndroidViewPager -> ViewPagerAndroid 2016-01-22 15:55:35 -08:00
LinkingLibraries.md adds sample library distinction 2015-12-19 23:40:09 -08:00
LinuxWindowsSupport.md Fix the 404 status url. 2016-01-02 19:33:50 +08:00
MoviesExample.json Fix typo and add comments to the example app 2015-03-27 20:44:20 +00:00
NativeComponentsAndroid.md Merge pull request #2973 from corbt/fix_docs 2015-12-14 00:35:42 +05:30
NativeComponentsIOS.md Replace direct access of NativeModules.UIManager with require('UIManager') 2016-01-30 07:36:34 -08:00
NativeModulesAndroid.md Improve docs on Android Native Modules 2016-01-20 06:22:36 -08:00
NativeModulesIOS.md fixed documentation error for native modules docs page 2015-12-14 15:10:46 -06:00
NavigatorComparison.md fixed various spelling errors 2015-12-10 17:27:46 -06:00
Network.md Update incorrect WebSocket example in Network.md 2015-12-26 11:18:51 +00:00
Performance.md Update Performance.md 2015-11-24 10:31:35 +08:00
PixelRatio.md Move around the docs a bit 2015-03-25 11:52:29 -07:00
PlatformSpecificInformation.md style and typos 2015-11-24 08:44:34 +01:00
RunningOnDeviceAndroid.md Adds alternative method of opening the dev menu using `adb shell input keyevent 82` 2016-01-06 21:28:16 -05:00
RunningOnDeviceIOS.md Improve ios offline build instructions 2016-01-29 14:27:33 -08:00
SignedAPKAndroid.md [Docs] Syntax highlight gradle code 2015-11-29 10:13:06 +05:30
Style.md Document new asset system 2015-11-05 16:10:05 -08:00
Testing.md Fix typo in Testing.md 2015-12-11 15:22:57 +01:00
Text.md [Website] Put all the guides in the table of content 2015-03-13 21:30:00 -07:00
Timers.md Document colors 2016-01-28 19:37:33 -08:00
Troubleshooting.md Update Troubleshooting.md 2015-11-14 19:32:45 +00:00
Tutorial.md fix the syntax error in doc tutorial 2016-01-25 01:31:34 -08:00
Upgrading.md use a better way to update react-native package 2015-12-26 23:09:14 +08:00
Videos.md embed more videos 2015-12-17 00:09:49 +08:00