teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

3

誤字

2018/11/08 03:19

投稿

MakotoKato
MakotoKato

スコア18

title CHANGED
File without changes
body CHANGED
@@ -27,7 +27,7 @@
27
27
 
28
28
  render() {
29
29
  return (
30
- <Child parentMethod={() => this.updateState} />
30
+ <Child parentMethod={(token) => this.updateState(token)} />
31
31
  );
32
32
  }
33
33
  }

2

誤字

2018/11/08 03:19

投稿

MakotoKato
MakotoKato

スコア18

title CHANGED
File without changes
body CHANGED
@@ -27,7 +27,7 @@
27
27
 
28
28
  render() {
29
29
  return (
30
- <Child parentMethod={this.updateState} />
30
+ <Child parentMethod={() => this.updateState} />
31
31
  );
32
32
  }
33
33
  }

1

<Child parentMethod={this.updateState} />追加

2018/11/08 03:18

投稿

MakotoKato
MakotoKato

スコア18

title CHANGED
File without changes
body CHANGED
@@ -27,7 +27,7 @@
27
27
 
28
28
  render() {
29
29
  return (
30
- <View>hogehoge</View>
30
+ <Child parentMethod={this.updateState} />
31
31
  );
32
32
  }
33
33
  }