mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 04:35:36 +08:00
Ran rename-unsafe-lifecycles codemod on xplat/js
Reviewed By: trueadm Differential Revision: D6889214 fbshipit-source-id: e815cda4b09f3650ae3b0b9a44ae6f5fcb48fe25
This commit is contained in:
committed by
Facebook Github Bot
parent
fa334ce464
commit
6f007e8957
@@ -37,7 +37,7 @@ import type {Props, Context} from 'Incremental';
|
||||
class IncrementalGroup extends React.Component<Props & {disabled?: boolean}> {
|
||||
context: Context;
|
||||
_groupInc: string;
|
||||
componentWillMount() {
|
||||
UNSAFE_componentWillMount() {
|
||||
this._groupInc = `g${++_groupCounter}-`;
|
||||
DEBUG && infoLog(
|
||||
'create IncrementalGroup with id ' + this.getGroupId()
|
||||
|
||||
Reference in New Issue
Block a user