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.