You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/reference/react/useReducer.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1062,7 +1062,7 @@ function reducer(state, action) {
1062
1062
1063
1063
### "Too many re-renders" というエラーが発生する {/*im-getting-an-error-too-many-re-renders*/}
1064
1064
1065
-
`Too many re-renders. React limits the number of renders to prevent an infinite loop.` というエラーが表示されることがあります。通常、これはレンダー中にアクションを無条件でディスパッチしているため、コンポーネントがループに入っていることを意味します:レンダー、ディスパッチ(これにより再度レンダーが発生)、レンダー、ディスパッチ(これにより再度レンダーが発生)、などの繰り返しです。非常にしばしば、これはイベントハンドラの指定におけるミスによって引き起こされます。
1065
+
`Too many re-renders. React limits the number of renders to prevent an infinite loop.` というエラーが表示されることがあります。通常、これはレンダー中にアクションを無条件でディスパッチしているため、コンポーネントがループに入っていることを意味します:レンダー、ディスパッチ(これにより再度レンダーが発生)、レンダー、ディスパッチ(これにより再度レンダーが発生)、といった繰り返しです。非常に多くの場合、これはイベントハンドラの指定方法のミスによって引き起こされます。
0 commit comments