Open taeyoungs opened 5 months ago
안녕하세요.
문장이 비슷하면서 조금 다르게 두 번 번역되어 적혀 있는 것 같아서 이슈로 올립니다. 앞, 뒤 문장 중 어느 문장이 더 적절한지 선택하긴 애매해서 PR로 올리진 않았습니다.
React 학습하기 > 상호작용성 더하기 > state 업데이트 큐 > React state batches 업데이트
원문
But there is one other factor at play here. React waits until all code in the event handlers has run before processing your state updates. This is why the re-render only happens after all these setNumber() calls.
https://github.com/reactjs/ko.react.dev/pull/633#discussion_r1193076385 해당 코멘트가 반영되지 않은 것 같습니다.
이 부분만 다음어서 PR 보내주시면 좋을 것 같아요 👀
안녕하세요.
문장이 비슷하면서 조금 다르게 두 번 번역되어 적혀 있는 것 같아서 이슈로 올립니다. 앞, 뒤 문장 중 어느 문장이 더 적절한지 선택하긴 애매해서 PR로 올리진 않았습니다.
React 학습하기 > 상호작용성 더하기 > state 업데이트 큐 > React state batches 업데이트
원문
But there is one other factor at play here. React waits until all code in the event handlers has run before processing your state updates. This is why the re-render only happens after all these setNumber() calls.