react-native-macos/Libraries
Eli White bbc5c35a61 Convert to using forwardRef
Summary:
TextInput now acts as a host component and can be passed directly to our new APIs that require a host component. Callsites no longer need to call

```
inputRef.getNativeRef()
```

We mutate the ref to the host component adding the imperative methods of the TextInput so you can still call `inputRef.clear` and `inputRef.isFocused`.

Changelog:
[General][Changed] TextInput now uses `forwardRef` allowing it to be used directly by new APIs requiring a host component.

Reviewed By: yungsters

Differential Revision: D18458408

fbshipit-source-id: 1f149fd575210d702fa0fdf3d05bb2162436a773
2019-11-15 14:02:42 -08:00
..
ART Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
ActionSheetIOS TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
Alert TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
Animated TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
AppState TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
BatchedBridge Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
Blob TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
BugReporting TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
CameraRoll Make RCTCameraRollManager TurboModule-compatible 2019-11-04 16:07:24 -08:00
Color Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
Components Convert to using forwardRef 2019-11-15 14:02:42 -08:00
Core LogBox - Errors thrown in render are fatals 2019-11-13 11:33:37 -08:00
DeprecatedPropTypes Add ascii-capable-number-pad to DeprecatedTextInputPropTypes 2019-11-11 12:20:18 -08:00
EventEmitter xplat/js/react-native-github 2019-08-09 10:11:15 -07:00
Experimental Delete WindowedListView 2019-10-18 14:45:19 -07:00
FBLazyVector Daily `arc lint --take BUCKFORMAT` 2019-10-17 12:16:15 -07:00
FBReactNativeSpec Split JS spec for image loader module 2019-11-11 17:24:25 -08:00
HeapCapture TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
Image Split JS spec for image loader module 2019-11-11 17:24:25 -08:00
Inspector Remove unused code 2019-10-03 14:33:59 -07:00
Interaction TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
JSInspector xplat/js/react-native-github 2019-08-09 10:11:15 -07:00
LayoutAnimation xplat/js/react-native-github 2019-08-09 10:11:15 -07:00
Linking TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
LinkingIOS Make RCTLinkingManager TurboModule-compatible 2019-11-08 14:14:45 -08:00
Lists Suppressions for 0.111 2019-11-05 17:36:23 -08:00
LogBox LogBox - Move and improve 'see more' button 2019-11-15 06:11:08 -08:00
Modal TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
NativeAnimation Make RCTNativeAnimatedModule a regular NativeModule 2019-11-12 13:56:09 -08:00
NativeModules/specs TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
Network TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
NewAppScreen Prevent usage of Array index in keys (#26102) 2019-08-30 04:57:40 -07:00
Performance TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
PermissionsAndroid TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
PushNotificationIOS Make PushNotificationManager TurboModule-compatible 2019-11-08 14:14:46 -08:00
RCTRequired Daily `arc lint --take BUCKFORMAT` 2019-10-17 12:16:15 -07:00
ReactNative LogBox - Add temporary default error boundary for logbox 2019-11-14 11:14:12 -08:00
ReactPrivate Add annotations to ReactNativePrivateInterface 2019-08-22 17:50:36 -07:00
Renderer Convert to using forwardRef 2019-11-15 14:02:42 -08:00
Settings TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
Share TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
Storage TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
StyleSheet Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
SurfaceBackedComponent Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
SurfaceHostingComponent Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
Text A workaround for RCTUITextField::secureTextEntry was moved to RCTUITextField 2019-11-13 14:22:17 -08:00
TurboModule TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
TypeSafety Implement RCTConvertOptionalVecToArray(const folly::Optional<ContainerT> &vec) 2019-11-04 16:07:24 -08:00
Types Prepare event.target to be a HostComponent 2019-11-08 17:33:35 -08:00
Utilities Convert TextInput from NativeMethodsMixin to ES6 Class 2019-11-15 14:02:41 -08:00
Vibration TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
WebSocket Make RCTWebSocketModule TurboModule-compatible 2019-11-08 14:14:46 -08:00
Wrapper Tidy up license headers [3/n] 2019-10-16 10:06:34 -07:00
YellowBox Add codeFrame to each warning and error in LogBox 2019-11-08 08:31:01 -08:00
__flowtests__ Move ReactNativeTypes-flowtest.js out of the Renderer folder 2019-10-30 14:35:02 -07:00
polyfills Don't wrap console methods for metro logging in Chrome debugger (#26883) 2019-10-21 10:05:40 -07:00
vendor RN: Delete `merge[Into]` 2019-10-12 15:52:27 -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 Clean-up $TEMPORARY$object in xplat/js/react-native-github 2019-08-21 09:58:24 -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