mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-15 01:22:29 +08:00
Upgrade fbsource/xplat/js to Flow v0.53.0
Reviewed By: avikchaudhuri Differential Revision: D5648819 Ninja: T20988071 fbshipit-source-id: 66e5b6747c79ae66b6eb69d40ede5e982c26174f
This commit is contained in:
committed by
Facebook Github Bot
parent
1ce7e4c1e5
commit
90eaeb019b
@@ -28,7 +28,7 @@ const React = require('React');
|
||||
* Typically, you will not need to use this component and should opt for normal
|
||||
* React reconciliation.
|
||||
*/
|
||||
class StaticContainer extends React.Component {
|
||||
class StaticContainer extends React.Component<Object> {
|
||||
|
||||
shouldComponentUpdate(nextProps: Object): boolean {
|
||||
return !!nextProps.shouldUpdate;
|
||||
|
||||
Reference in New Issue
Block a user