Q38.webp
Enmu90

Q38.webp

  • Media owner Enmu90
  • Ngày thêm
Question: 38
(Choose 1 answer)
What is the difference between the "Pre-Commit" and "Commit" phases during the mounting process of a
React Native component life cycle?
A. The "Pre-Commit" phase runs side effects, while the "Commit" phase reads the DOM.
B. The "Pre-Commit" phase reads the DOM, while the "Commit" phase works with the DOM to schedule
updates.
C. The "Pre-Commit" phase updates the DOM, while the "Commit" phase renders the component.
D. The "Commit" phase only runs in case of errors, while the "Pre-Commit" phase handles updates.

Thông tin

Category
MMA301
Thêm bởi
Enmu90
Ngày thêm
Lượt xem
1,982
Lượt bình luận
8
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom