Skip to content

Commit

Permalink
React Native sync
Browse files Browse the repository at this point in the history
Reviewed By: sebmarkbage

Differential Revision: D5214576

fbshipit-source-id: 41f350ce8961851c7404257df8295d505471d9f4
  • Loading branch information
Brian Vaughn authored and facebook-github-bot committed Jun 9, 2017
1 parent 32a0ee0 commit a4947d1
Show file tree
Hide file tree
Showing 7 changed files with 1,632 additions and 1,328 deletions.
2 changes: 1 addition & 1 deletion Libraries/Renderer/REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3630bf3559b72d66437187901fb5eab3f976c6a4
a37012a6b5fb5a1c0c19c962737189aeaebe3684
1,009 changes: 551 additions & 458 deletions Libraries/Renderer/ReactNativeFiber-dev.js

Large diffs are not rendered by default.

839 changes: 468 additions & 371 deletions Libraries/Renderer/ReactNativeFiber-prod.js

Large diffs are not rendered by default.

619 changes: 337 additions & 282 deletions Libraries/Renderer/ReactNativeStack-dev.js

Large diffs are not rendered by default.

478 changes: 267 additions & 211 deletions Libraries/Renderer/ReactNativeStack-prod.js

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions Libraries/Renderer/shims/PooledClass.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,10 @@ var addPoolingTo = function<T>(
CopyConstructor: Class<T>,
pooler: Pooler,
): Class<T> & {
getPooled(): /* arguments of the constructor */ T,
release(): void,
getPooled(
...args: $ReadOnlyArray<mixed>
): /* arguments of the constructor */ T,
release(instance: mixed): void,
} {
// Casting as any so that flow ignores the actual implementation and trusts
// it to match the type we declared
Expand Down
7 changes: 4 additions & 3 deletions Libraries/Renderer/shims/ReactNativeTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,11 @@ type SecretInternalsType = {
};

/**
* Flat ReactNative renderer bundles are too big for Flow to parse effeciently.
* Provide minimal Flow typing for the high-level RN API and call it a day.
*/
* Flat ReactNative renderer bundles are too big for Flow to parse efficiently.
* Provide minimal Flow typing for the high-level RN API and call it a day.
*/
export type ReactNativeType = {
NativeComponent: any,
findNodeHandle(componentOrHandle: any): ?number,
render(
element: React.Element<any>,
Expand Down

0 comments on commit a4947d1

Please sign in to comment.