Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError

[version]
^0.33.0
^0.34.0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"eslint-plugin-react-internal": "file:eslint-rules",
"fbjs": "^0.8.5",
"fbjs-scripts": "^0.6.0",
"flow-bin": "^0.33.0",
"flow-bin": "^0.34.0",
"glob": "^6.0.1",
"grunt": "^0.4.5",
"grunt-cli": "^0.1.13",
Expand Down
7 changes: 3 additions & 4 deletions src/renderers/native/ReactNativeAttributePayload.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,18 +396,17 @@ function diffProperties(
removedKeyCount = 0;
// We think that attributeConfig is not CustomAttributeConfiguration at
// this point so we assume it must be AttributeConfiguration.
// $FlowFixMe
updatePayload = diffNestedProperty(
updatePayload,
prevProp,
nextProp,
attributeConfig
((attributeConfig : any) : AttributeConfiguration)
);
if (removedKeyCount > 0 && updatePayload) {
restoreDeletedValuesInNestedArray(
updatePayload,
nextProp,
attributeConfig
((attributeConfig : any) : AttributeConfiguration)
);
removedKeys = null;
}
Expand Down Expand Up @@ -457,7 +456,7 @@ function diffProperties(
updatePayload = clearNestedProperty(
updatePayload,
prevProp,
attributeConfig
((attributeConfig : any) : AttributeConfiguration)
);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/renderers/shared/fiber/ReactFiber.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ function createFiberFromElementType(type : mixed, key : null | string) : Fiber {
// the current or a workInProgress? When the continuation gets rendered here
// we don't know if we can reuse that fiber or if we need to clone it.
// There is probably a clever way to restructure this.
fiber = type;
fiber = ((type : any) : Fiber);
} else {
throw new Error('Unknown component type: ' + typeof type);
}
Expand Down