質問編集履歴

3

短縮

2017/02/09 08:30

投稿

kazuyu
kazuyu

スコア18

test CHANGED
File without changes
test CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
 
20
20
 
21
- 問題のコード(大部分省略
21
+ 問題のコード)
22
22
 
23
23
  ```
24
24
 

2

文章短縮

2017/02/09 08:30

投稿

kazuyu
kazuyu

スコア18

test CHANGED
File without changes
test CHANGED
@@ -105,15 +105,3 @@
105
105
  }
106
106
 
107
107
  ```
108
-
109
-
110
-
111
-
112
-
113
- 上記プログラムで実現したいこと)
114
-
115
- 今までjQueryで開発してきたプログラム資産をReactベースに書き換えること、ユーザの状態に応じて表示するhtmlタグを変更すること、入れ子関数で非同期処理を処理していたコードをPromise.jsで書き換えることを実現したい。
116
-
117
-
118
-
119
- ReactでPromise.jsを利用経験のある方、上記解決策をご存じの方がいらっしゃいましたらご助言をお願い致します。

1

コードを専用のフォーマットに書換え

2017/02/09 08:26

投稿

kazuyu
kazuyu

スコア18

test CHANGED
File without changes
test CHANGED
@@ -8,13 +8,19 @@
8
8
 
9
9
  エラー内容)render return内でオブジェクトの展開はできない旨のエラーメッセージ
10
10
 
11
+ ```
12
+
13
+ Invariant Violation: Object are not valid as a React child (found: object with keys {fc4knr35wmi, _state, _result, _subscribers}). If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons. Check the render method of 'KurasuA'.
14
+
15
+ ```
11
16
 
12
17
 
13
- Invariant Violation: Object are not valid as a React child (found: object with keys {fc4knr35wmi, _state, _result, _subscribers}). If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons. Check the render method of 'KurasuA'.
14
18
 
15
19
 
16
20
 
17
21
  問題のコード(大部分省略))
22
+
23
+ ```
18
24
 
19
25
  import React, {Component} from 'react';
20
26
 
@@ -98,6 +104,10 @@
98
104
 
99
105
  }
100
106
 
107
+ ```
108
+
109
+
110
+
101
111
 
102
112
 
103
113
  上記プログラムで実現したいこと)