react-native-macos/Libraries
Eli White 2bd503285e Update View Config generator to create command methods
Summary:
Flow types like this:
```
interface NativeCommands {
  +hotspotUpdate: (viewRef: React.Ref<'RCTView'>, x: Int32, y: Int32) => void;
}

export const Commands = codegenNativeCommands<NativeCommands>();
```

get turned into this:

```
export const Commands = {
  hotspotUpdate(viewRef: React.Ref<'RCTView'>, x: number, y: number) {
    UIManager.dispatchViewCommand(
      findNodeHandle(viewRef),
      UIManager.getViewManagerConfig('RCTView').Commands.hotspotUpdate,
      [x, y]
    );
  }
}
```

Reviewed By: rickhanlonii

Differential Revision: D15953126

fbshipit-source-id: edbb91056347d021dd0683391c903b76f3d1c33f
2019-06-24 18:54:41 -07:00
..
ART Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
ActionSheetIOS Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
Alert Re-land "[RN] TM: attempt to integrate with internal codegen infra"" 2019-06-11 17:11:58 -07:00
Animated Optimize native animated connection queue handling (#25256) 2019-06-13 08:45:54 -07:00
AppState Feature to listen on window focus events (#25039) 2019-06-05 16:05:34 -07:00
BatchedBridge Pop bridge frames from errors thrown by sync host function calls 2019-06-19 09:15:14 -07:00
Blob Replace more Haste imports with path-based imports (#25001) 2019-05-23 00:51:31 -07:00
BugReporting add spec for RedBox (#24922) 2019-05-20 18:05:55 -07:00
CameraRoll Move CameraRoll JS to FB internal 2019-05-23 07:06:21 -07:00
Color Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Components Support parsing View Commands into the schema 2019-06-24 18:54:41 -07:00
Core Remove useless module.hot checks 2019-06-24 09:48:57 -07:00
DeprecatedPropTypes New Accessibility states API. (#24608) 2019-05-23 05:37:33 -07:00
EventEmitter Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
Experimental Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
FBLazyVector Move FBLazyVector to github 2019-06-21 11:42:17 -07:00
HeapCapture Replace more Haste imports with path-based imports (#25001) 2019-05-23 00:51:31 -07:00
Image Animated image improvements (#24822) 2019-06-24 03:45:23 -07:00
Inspector add spec for I18nManager (#24908) 2019-05-31 19:56:37 -07:00
Interaction Remove old comments 2019-06-21 10:59:09 -07:00
JSInspector Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
LayoutAnimation Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
Linking Replace more Haste imports with path-based imports (#25001) 2019-05-23 00:51:31 -07:00
LinkingIOS Resolve Promise to YES for Linking.openURL (#24955) 2019-05-20 01:32:53 -07:00
Lists Deploy Flow v0.100 to xplat/js 2019-06-03 23:03:41 -07:00
Modal Support parsing View Commands into the schema 2019-06-24 18:54:41 -07:00
NativeAnimation Native Animated - Support events using RCT{Direct|Bubbling}EventBlock on iOS (#25317) 2019-06-21 03:05:59 -07:00
NativeModules/specs Reland "[react-native][PR] [TM] Add spec for DevSettings" 2019-05-31 10:58:02 -07:00
Network Use fetch as a polyfill 2019-06-06 11:34:11 -07:00
NewAppScreen Improve the android onboarding messages (#25353) 2019-06-21 21:55:56 -07:00
Performance Replace more Haste imports with path-based imports (#25001) 2019-05-23 00:51:31 -07:00
PermissionsAndroid Reland "[RN] TM Spec: relax PermissionsAndroid enforcement" 2019-05-31 10:58:02 -07:00
PushNotificationIOS Codemod $Enum<...> to $Keys<...> in xplat/fbcode 2019-05-16 14:20:29 -07:00
ReactNative Don't throw when accessing view config 2019-06-12 16:18:36 -07:00
ReactPrivate ReactPrivate, an explicit interface between the renderer and RN (#24782) 2019-05-20 07:16:57 -07:00
Renderer Recover from render errors by remounting root 2019-06-24 13:54:40 -07:00
Sample @allow-large-files Deploy v0.101.0 to xplat 2019-06-11 15:22:23 -07:00
Settings Add a lint rule to disallow Haste imports (#25058) 2019-05-30 07:45:16 -07:00
Share Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
Storage Remove RocksDB 2019-05-13 11:43:49 -07:00
StyleSheet Fix: RefreshControl in FlatList makes borderWidth not working (#24411) 2019-06-07 02:47:47 -07:00
SurfaceBackedComponent Fix object initialization 2019-05-10 10:10:27 -07:00
SurfaceHostingComponent Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Text Use CALayers to draw text (#24387) 2019-06-24 02:59:31 -07:00
TurboModule Disable legacy native modules in bridgeless mode 2019-06-17 15:13:49 -07:00
TypeSafety Move TypeSafety conversion utils to github 2019-06-21 11:42:18 -07:00
Types Add types for modal 2019-06-23 10:03:54 -07:00
Utilities Update View Config generator to create command methods 2019-06-24 18:54:41 -07:00
Vibration Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
WebSocket Protocol property of WebSocket object is undefined (#25273) 2019-06-21 03:46:54 -07:00
Wrapper Update the license for RCTWrapperExample (#24037) 2019-03-19 09:19:19 -07:00
YellowBox fix shouldComponentUpdate in YellowBox (#25097) 2019-05-31 00:50:54 -07:00
polyfills protect against hanging when logging nasty objects 2019-06-21 07:43:52 -07:00
react-native add warning for StatusBarIOS (#25350) 2019-06-24 01:49:29 -07:00
vendor Remove Map/Set from RN Open Source 2019-06-07 06:39:28 -07:00
.npmignore npmignore: ignore tests and fixtures 2018-02-27 08:42:14 -08:00
Promise.js Use standard version of Promise.prototype.finally 2019-03-27 20:48:45 -07:00
UTFSequence.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
promiseRejectionIsError.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00