質問編集履歴

2

一部削除

2018/03/25 03:44

投稿

dwayne_johnson
dwayne_johnson

スコア86

test CHANGED
File without changes
test CHANGED
@@ -119,7 +119,3 @@
119
119
  <<追記>>
120
120
 
121
121
  In an ideal world, most of your components would be stateless functions because in the future we’ll also be able to make performance optimizations specific to these components by avoiding unnecessary checks and memory allocations. This is the recommended pattern, when possible.
122
-
123
- だそうで。
124
-
125
- できる限りfunctionを使っていき、state管理など必要がある場合にのみclassにする

1

追記

2018/03/25 03:44

投稿

dwayne_johnson
dwayne_johnson

スコア86

test CHANGED
File without changes
test CHANGED
@@ -113,3 +113,13 @@
113
113
  componentの種類などによりこの2つを使い分けたほうがいいのか、どちらかに統一してしまったほうがいいのか、使い分けの方法を教えてほしいです。
114
114
 
115
115
  よろしくお願いします。
116
+
117
+
118
+
119
+ <<追記>>
120
+
121
+ In an ideal world, most of your components would be stateless functions because in the future we’ll also be able to make performance optimizations specific to these components by avoiding unnecessary checks and memory allocations. This is the recommended pattern, when possible.
122
+
123
+ だそうで。
124
+
125
+ できる限りfunctionを使っていき、state管理など必要がある場合にのみclassにする