A Admin • 833K Points Coach Q. What is the default behavior of setState in class components? (A) It merges the new state with the existing state (B) It replaces the entire state object (C) It immediately updates the state synchronously (D) It triggers a full page reload Correct Answer - Option(A) Views: 25 Filed under category React JS Hashtags: Share Manage Tags
Discusssion
Login to discuss.